Database Installer.

This commit is contained in:
MobiusDev
2015-08-30 17:39:57 +00:00
parent ad4ce8677d
commit 51cb9651e3
147 changed files with 1837 additions and 375 deletions

View File

@@ -0,0 +1,10 @@
DROP TABLE IF EXISTS `castle_functions`;
CREATE TABLE IF NOT EXISTS `castle_functions` (
`castle_id` int(2) NOT NULL DEFAULT '0',
`type` int(1) NOT NULL DEFAULT '0',
`lvl` int(3) NOT NULL DEFAULT '0',
`lease` int(10) NOT NULL DEFAULT '0',
`rate` decimal(20,0) NOT NULL DEFAULT '0',
`endTime` bigint(13) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`castle_id`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;