Explorar o código

Follow up b3506fb

Somehow I missed the upgrade file. Sorry guys.
Thanks to @exneval for raising my attention on it.
Lemongrass3110 %!s(int64=11) %!d(string=hai) anos
pai
achega
899f3c117c
Modificáronse 1 ficheiros con 21 adicións e 0 borrados
  1. 21 0
      sql-files/upgrades/upgrade_20140205.sql

+ 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;