diff --git a/SQL/news.sql b/SQL/news.sql new file mode 100644 index 0000000..9e28a14 --- /dev/null +++ b/SQL/news.sql @@ -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! ', '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');