clan_data.sql 1001 B

12345678910111213141516171819202122232425
  1. CREATE TABLE IF NOT EXISTS `clan_data` (
  2. `clan_id` INT NOT NULL DEFAULT 0,
  3. `clan_name` varchar(45) ,
  4. `clan_level` INT,
  5. `reputation_score` INT NOT NULL DEFAULT 0,
  6. `hasCastle` INT,
  7. `blood_alliance_count` smallint(5) unsigned NOT NULL DEFAULT 0,
  8. `blood_oath_count` smallint(5) unsigned NOT NULL DEFAULT 0,
  9. `ally_id` INT,
  10. `ally_name` varchar(45),
  11. `leader_id` INT,
  12. `crest_id` INT,
  13. `crest_large_id` INT,
  14. `ally_crest_id` INT,
  15. `auction_bid_at` INT NOT NULL DEFAULT 0,
  16. `ally_penalty_expiry_time` bigint(13) unsigned NOT NULL DEFAULT '0',
  17. `ally_penalty_type` tinyint(1) NOT NULL DEFAULT 0,
  18. `char_penalty_expiry_time` bigint(13) unsigned NOT NULL DEFAULT '0',
  19. `dissolving_expiry_time` bigint(13) unsigned NOT NULL DEFAULT '0',
  20. `new_leader_id` INT(10) unsigned NOT NULL DEFAULT '0',
  21. PRIMARY KEY (`clan_id`),
  22. KEY `ally_id` (`ally_id`),
  23. KEY `leader_id` (`leader_id`),
  24. KEY `auction_bid_at` (`auction_bid_at`)
  25. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;