castle.sql 792 B

12345678910111213141516171819202122232425
  1. -- ---------------------------
  2. -- Table structure for castle
  3. -- ---------------------------
  4. CREATE TABLE IF NOT EXISTS `castle` (
  5. `id` INT NOT NULL default 0,
  6. `name` varchar(25) NOT NULL,
  7. `taxPercent` INT NOT NULL default 15,
  8. `treasury` INT NOT NULL default 0,
  9. `siegeDate` DECIMAL(20,0) NOT NULL default 0,
  10. `regTimeOver` enum('true','false') DEFAULT 'true' NOT NULL,
  11. `regTimeEnd` DECIMAL(20,0) NOT NULL default 0,
  12. PRIMARY KEY (`name`),
  13. KEY `id` (`id`)
  14. );
  15. INSERT IGNORE INTO `castle` VALUES
  16. (1,'Gludio',0,0,0,'true',0),
  17. (2,'Dion',0,0,0,'true',0),
  18. (3,'Giran',0,0,0,'true',0),
  19. (4,'Oren',0,0,0,'true',0),
  20. (5,'Aden',0,0,0,'true',0),
  21. (6,'Innadril',0,0,0,'true',0),
  22. (7,'Goddard',0,0,0,'true',0),
  23. (8,'Rune',0,0,0,'true',0),
  24. (9,'Schuttgart',0,0,0,'true',0);