aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorMitchesD <majklprofik@seznam.cz>2015-08-26 11:12:35 +0200
committerMitchesD <majklprofik@seznam.cz>2015-08-26 11:15:00 +0200
commit614b5832ba96b4c5905ece5490a7b5d18c2f710b (patch)
tree454e71dfcab1da90490466dfebd69a115950866d /sql/updates
parentca5c5221ba8376d152a4c8216afd922924475802 (diff)
Core/Player: implemented Toybox
* now you can use all the things in toybox - add new toys, set them as favorite and use them
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/auth/2015_08_26_00_auth.sql8
-rw-r--r--sql/updates/hotfixes/2015_08_26_00_hotfixes.sql21
2 files changed, 29 insertions, 0 deletions
diff --git a/sql/updates/auth/2015_08_26_00_auth.sql b/sql/updates/auth/2015_08_26_00_auth.sql
new file mode 100644
index 00000000000..e01f9c50a24
--- /dev/null
+++ b/sql/updates/auth/2015_08_26_00_auth.sql
@@ -0,0 +1,8 @@
+DROP TABLE IF EXISTS `battlenet_account_toys`;
+
+CREATE TABLE `battlenet_account_toys` (
+ `accountId` int(10) unsigned NOT NULL,
+ `itemId` int(11) NOT NULL DEFAULT '0',
+ `isFavourite` tinyint(1) DEFAULT '0',
+ PRIMARY KEY (`accountId`,`itemId`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
diff --git a/sql/updates/hotfixes/2015_08_26_00_hotfixes.sql b/sql/updates/hotfixes/2015_08_26_00_hotfixes.sql
new file mode 100644
index 00000000000..3ccd8ac3eeb
--- /dev/null
+++ b/sql/updates/hotfixes/2015_08_26_00_hotfixes.sql
@@ -0,0 +1,21 @@
+DROP TABLE IF EXISTS `toy`;
+
+CREATE TABLE `toy` (
+ `ID` int(10) unsigned NOT NULL DEFAULT '0',
+ `ItemID` int(10) unsigned NOT NULL DEFAULT '0',
+ `Flags` int(10) unsigned NOT NULL DEFAULT '0',
+ `Description` text,
+ `CategoryFilter` int(10) NOT NULL DEFAULT '0',
+ `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0',
+ PRIMARY KEY (`ID`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+DROP TABLE IF EXISTS `toy_locale`;
+
+CREATE TABLE `toy_locale` (
+ `ID` int(10) unsigned NOT NULL DEFAULT '0',
+ `locale` varchar(4) NOT NULL,
+ `Description_lang` text NOT NULL,
+ `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0',
+ PRIMARY KEY (`ID`,`locale`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;