clan_data.sql 781 B

123456789101112131415161718192021222324
  1. -- ---------------------------
  2. -- Table structure for clan_data
  3. -- ---------------------------
  4. CREATE TABLE IF NOT EXISTS clan_data (
  5. clan_id INT NOT NULL default 0,
  6. clan_name varchar(45) ,
  7. clan_level INT,
  8. reputation_score INT NOT NULL default 0,
  9. hasCastle INT,
  10. ally_id INT,
  11. ally_name varchar(45),
  12. leader_id INT,
  13. crest_id INT,
  14. crest_large_id INT,
  15. ally_crest_id INT,
  16. auction_bid_at INT NOT NULL default 0,
  17. ally_penalty_expiry_time DECIMAL( 20,0 ) NOT NULL DEFAULT 0,
  18. ally_penalty_type DECIMAL( 1 ) NOT NULL DEFAULT 0,
  19. char_penalty_expiry_time DECIMAL( 20,0 ) NOT NULL DEFAULT 0,
  20. dissolving_expiry_time DECIMAL( 20,0 ) NOT NULL DEFAULT 0,
  21. PRIMARY KEY (clan_id),
  22. KEY `leader_id` (`leader_id`),
  23. KEY `ally_id` (`ally_id`)
  24. );