upgrade_20140205.sql 720 B

123456789101112131415161718192021
  1. CREATE TABLE IF NOT EXISTS `buyingstore_items` (
  2. `buyingstore_id` int(10) unsigned NOT NULL,
  3. `index` smallint(5) unsigned NOT NULL,
  4. `item_id` int(10) unsigned NOT NULL,
  5. `amount` smallint(5) unsigned NOT NULL,
  6. `price` int(10) unsigned NOT NULL
  7. ) ENGINE=MyISAM;
  8. CREATE TABLE IF NOT EXISTS `buyingstores` (
  9. `id` int(10) unsigned NOT NULL,
  10. `account_id` int(11) unsigned NOT NULL,
  11. `char_id` int(10) unsigned NOT NULL,
  12. `sex` enum('F','M') NOT NULL DEFAULT 'M',
  13. `map` varchar(20) NOT NULL,
  14. `x` smallint(5) unsigned NOT NULL,
  15. `y` smallint(5) unsigned NOT NULL,
  16. `title` varchar(80) NOT NULL,
  17. `limit` int(10) unsigned NOT NULL,
  18. `autotrade` tinyint(4) NOT NULL,
  19. PRIMARY KEY (`id`)
  20. ) ENGINE=MyISAM;