DB table news

This commit is contained in:
BentByte 2025-05-17 22:19:43 -05:00
parent 22850624ad
commit a1fc23d424

15
SQL/news.sql Normal file
View File

@ -0,0 +1,15 @@
-- Dumping structure for table auth.news
CREATE TABLE IF NOT EXISTS `news` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL,
`content` text NOT NULL,
`date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`type` enum('update','event','maintenance') DEFAULT 'update',
`created_by` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4;
-- Dumping data for table auth.news: ~2 rows (approximately)
INSERT INTO `news` (`id`, `title`, `content`, `date`, `type`, `created_by`) VALUES
(1, 'Welcome to Plezi-WoW! <Pinned>', 'Welcome, friends! We have opened the server for all to play. Plezi is a custom/fun server on the WotLK expansion.', '2050-01-01 12:00:00', 'update', 'Admin'),
(2, 'Server Launch Event', 'There will be a launch event where all players will be able to obtain a permanent buff on all characters on their account.', '2025-07-25 12:00:00', 'event', 'Admin');