upgrade_20140114.sql 679 B

1234567891011121314151617181920
  1. CREATE TABLE IF NOT EXISTS `vending_items` (
  2. `vending_id` int(10) unsigned NOT NULL,
  3. `index` smallint(5) unsigned NOT NULL,
  4. `cartinventory_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 `vendings` (
  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. `autotrade` tinyint(4) NOT NULL,
  18. PRIMARY KEY (`id`)
  19. ) ENGINE=MyISAM;