Moved announcements to SQL.
This commit is contained in:
14
L2J_Mobius_C6_Interlude/dist/db_installer/sql/game/announcements.sql
vendored
Normal file
14
L2J_Mobius_C6_Interlude/dist/db_installer/sql/game/announcements.sql
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
CREATE TABLE IF NOT EXISTS `announcements` (
|
||||
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`type` int(11) NOT NULL,
|
||||
`initial` bigint(20) NOT NULL DEFAULT 0,
|
||||
`delay` bigint(20) NOT NULL DEFAULT 0,
|
||||
`repeat` int(11) NOT NULL DEFAULT 0,
|
||||
`author` text NOT NULL,
|
||||
`content` text NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||
|
||||
INSERT INTO announcements (`type`, `author`, `content`) VALUES
|
||||
(0, 'L2jMobius', 'Thanks for using L2jMobius!'),
|
||||
(0, 'L2jMobius', 'http://www.l2jmobius.org');
|
@@ -1,9 +0,0 @@
|
||||
-- --------------------------------------
|
||||
-- Table structure for auto_announcements
|
||||
-- --------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS `auto_announcements` (
|
||||
`id` int(11) NOT NULL auto_increment,
|
||||
`announcement` varchar(255) NOT NULL,
|
||||
`delay` int(11) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
Reference in New Issue
Block a user