claimitems.sql 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. CREATE TABLE IF NOT EXISTS `character_claim_items` (
  2. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  3. `char_id` int(10) unsigned DEFAULT 0,
  4. `account_id` int(10) unsigned DEFAULT 0,
  5. `item_id` int(10) unsigned DEFAULT 0,
  6. `max_claim` int(10) unsigned DEFAULT 0,
  7. `curr_claim` int(10) unsigned DEFAULT 0,
  8. `one_per_char` int(11) unsigned DEFAULT 0,
  9. `last_claim` bigint(20) unsigned DEFAULT 0,
  10. `veteran_reward_time` bigint(20) unsigned DEFAULT 0 COMMENT 'account age in seconds',
  11. PRIMARY KEY (`id`)
  12. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  13. CREATE TABLE IF NOT EXISTS `claim_items` (
  14. `id` int(11) NOT NULL AUTO_INCREMENT,
  15. `item_id` int(11) NOT NULL DEFAULT 0,
  16. `max_claim` int(11) NOT NULL DEFAULT 0,
  17. `one_per_char` int(10) unsigned DEFAULT 0,
  18. `veteran_reward_time` bigint(20) unsigned DEFAULT 0,
  19. `comment` text DEFAULT NULL,
  20. PRIMARY KEY (`id`)
  21. ) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8;
  22. INSERT INTO `claim_items` (`id`, `item_id`, `max_claim`, `one_per_char`, `veteran_reward_time`, `comment`) VALUES
  23. (1, 1, 10, 1, 0, NULL),
  24. (2, 60606, 10, 0, 0, NULL),
  25. (3, 22461, 10, 0, 0, NULL),
  26. (4, 20628, 10, 0, 0, NULL),
  27. (5, 20614, 10, 0, 0, NULL),
  28. (6, 20612, 10, 1, 86400, '1 day'),
  29. (7, 22513, 10, 1, 2630000, '1 month'),
  30. (8, 22514, 10, 1, 604800, '1 week'),
  31. (9, 22515, 10, 1, 31536000, '1 year'),
  32. (10, 22516, 10, 1, 47340000, '18 month'),
  33. (11, 22517, 10, 1, 63072000, '2 year'),
  34. (12, 22518, 10, 1, 7890000, '3 month'),
  35. (13, 22519, 10, 1, 94608000, '3 year'),
  36. (14, 22520, 10, 1, 126144000, '4 year'),
  37. (15, 22521, 10, 1, 157680000, '5 year'),
  38. (16, 22522, 10, 1, 15780000, '6 month'),
  39. (17, 22523, 10, 1, 189216000, '6 year'),
  40. (18, 22524, 10, 1, 252288000, '8 year');