Database Installer.
This commit is contained in:
18
trunk/dist/db_installer/sql/game/forums.sql
vendored
Normal file
18
trunk/dist/db_installer/sql/game/forums.sql
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
DROP TABLE IF EXISTS `forums`;
|
||||
CREATE TABLE IF NOT EXISTS `forums` (
|
||||
`forum_id` int(8) NOT NULL DEFAULT '0',
|
||||
`forum_name` varchar(255) NOT NULL DEFAULT '',
|
||||
`forum_parent` int(8) NOT NULL DEFAULT '0',
|
||||
`forum_post` int(8) NOT NULL DEFAULT '0',
|
||||
`forum_type` int(8) NOT NULL DEFAULT '0',
|
||||
`forum_perm` int(8) NOT NULL DEFAULT '0',
|
||||
`forum_owner_id` int(8) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`forum_id`),
|
||||
KEY `forum_owner_id` (`forum_owner_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
INSERT IGNORE INTO `forums` VALUES
|
||||
(1, 'NormalRoot', 0, 0, 0, 1, 0),
|
||||
(2, 'ClanRoot', 0, 0, 0, 0, 0),
|
||||
(3, 'MemoRoot', 0, 0, 0, 0, 0),
|
||||
(4, 'MailRoot', 0, 0, 0, 0, 0);
|
Reference in New Issue
Block a user