aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/hotfixes
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2017-08-23 20:50:41 +0200
committerShauren <shauren.trinity@gmail.com>2017-08-23 20:50:41 +0200
commita93a5ad379635bbf4a50d48eee810e7673b07168 (patch)
treee7f56b35292a936bf0f2b063b727e2571318cbfb /sql/updates/hotfixes
parent2d0e65386693c35ae8f00fc0a1beee032a5ccf18 (diff)
Core/Players: Implemented proper facial hair validation
Diffstat (limited to 'sql/updates/hotfixes')
-rw-r--r--sql/updates/hotfixes/master/2017_08_23_00_hotfixes.sql37
1 files changed, 37 insertions, 0 deletions
diff --git a/sql/updates/hotfixes/master/2017_08_23_00_hotfixes.sql b/sql/updates/hotfixes/master/2017_08_23_00_hotfixes.sql
new file mode 100644
index 00000000000..ee74fde154f
--- /dev/null
+++ b/sql/updates/hotfixes/master/2017_08_23_00_hotfixes.sql
@@ -0,0 +1,37 @@
+--
+-- Table structure for table `character_facial_hair_styles`
+--
+DROP TABLE IF EXISTS `character_facial_hair_styles`;
+CREATE TABLE `character_facial_hair_styles` (
+ `ID` int(10) unsigned NOT NULL DEFAULT '0',
+ `Geoset1` int(10) unsigned NOT NULL DEFAULT '0',
+ `Geoset2` int(10) unsigned NOT NULL DEFAULT '0',
+ `Geoset3` int(10) unsigned NOT NULL DEFAULT '0',
+ `Geoset4` int(10) unsigned NOT NULL DEFAULT '0',
+ `Geoset5` int(10) unsigned NOT NULL DEFAULT '0',
+ `RaceID` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ `SexID` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ `VariationID` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0',
+ PRIMARY KEY (`ID`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Table structure for table `char_base_section`
+--
+DROP TABLE IF EXISTS `char_base_section`;
+CREATE TABLE `char_base_section` (
+ `ID` int(10) unsigned NOT NULL DEFAULT '0',
+ `Variation` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ `ResolutionVariation` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ `Resolution` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0',
+ PRIMARY KEY (`ID`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+ALTER TABLE `char_sections`
+ CHANGE `Race` `RaceID` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ CHANGE `Gender` `SexID` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ CHANGE `GenType` `BaseSection` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ CHANGE `Type` `VariationIndex` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ CHANGE `Color` `ColorIndex` tinyint(3) unsigned NOT NULL DEFAULT '0';