Skip to content
Permalink
Browse files
Follow up b3506fb
Somehow I missed the upgrade file. Sorry guys.
Thanks to @exneval for raising my attention on it.
  • Loading branch information
Lemongrass3110 committed Feb 6, 2014
1 parent 27d270d commit 899f3c117c2abb21fd2273c090daf8d237b77d27
Showing with 21 additions and 0 deletions.
  1. +21 −0 sql-files/upgrades/upgrade_20140205.sql
@@ -0,0 +1,21 @@
CREATE TABLE IF NOT EXISTS `buyingstore_items` (
`buyingstore_id` int(10) unsigned NOT NULL,
`index` smallint(5) unsigned NOT NULL,
`item_id` int(10) unsigned NOT NULL,
`amount` smallint(5) unsigned NOT NULL,
`price` int(10) unsigned NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

CREATE TABLE IF NOT EXISTS `buyingstores` (
`id` int(10) unsigned NOT NULL,
`account_id` int(11) unsigned NOT NULL,
`char_id` int(10) unsigned NOT NULL,
`sex` enum('F','M') NOT NULL DEFAULT 'M',
`map` varchar(20) NOT NULL,
`x` smallint(5) unsigned NOT NULL,
`y` smallint(5) unsigned NOT NULL,
`title` varchar(80) NOT NULL,
`limit` int(10) unsigned NOT NULL,
`autotrade` tinyint(4) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

0 comments on commit 899f3c1

Please sign in to comment.