castle.sql 957 B

123456789101112131415161718192021222324
  1. CREATE TABLE IF NOT EXISTS `castle` (
  2. `id` INT NOT NULL DEFAULT 0,
  3. `name` varchar(25) NOT NULL,
  4. `taxPercent` INT NOT NULL DEFAULT 15,
  5. `treasury` BIGINT NOT NULL DEFAULT 0,
  6. `siegeDate` bigint(13) unsigned NOT NULL DEFAULT '0',
  7. `regTimeOver` enum('true','false') DEFAULT 'true' NOT NULL,
  8. `regTimeEnd` bigint(13) unsigned NOT NULL DEFAULT '0',
  9. `showNpcCrest` enum('true','false') DEFAULT 'false' NOT NULL,
  10. `ticketBuyCount` smallint(3) NOT NULL DEFAULT 0,
  11. PRIMARY KEY (`name`),
  12. KEY `id` (`id`)
  13. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  14. INSERT IGNORE INTO `castle` VALUES
  15. (1,'Gludio',0,0,0,'true',0,'false',0),
  16. (2,'Dion',0,0,0,'true',0,'false',0),
  17. (3,'Giran',0,0,0,'true',0,'false',0),
  18. (4,'Oren',0,0,0,'true',0,'false',0),
  19. (5,'Aden',0,0,0,'true',0,'false',0),
  20. (6,'Innadril',0,0,0,'true',0,'false',0),
  21. (7,'Goddard',0,0,0,'true',0,'false',0),
  22. (8,'Rune',0,0,0,'true',0,'false',0),
  23. (9,'Schuttgart',0,0,0,'true',0,'false',0);