mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 02:04:52 +01:00
DB/Misc: TDB 4.3.4-11 2016/08/28
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
--
|
||||
ALTER TABLE `characters`
|
||||
ADD `skin` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `money`,
|
||||
ADD `face` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `skin`,
|
||||
ADD `hairStyle` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `face`,
|
||||
ADD `hairColor` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `hairStyle`,
|
||||
ADD `facialStyle` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `hairColor`,
|
||||
ADD `bankSlots` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `facialStyle`,
|
||||
ADD `restState` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `bankSlots`;
|
||||
|
||||
UPDATE `characters` SET
|
||||
`skin`=`playerBytes`&0xFF,
|
||||
`face`=(`playerBytes`>>8)&0xFF,
|
||||
`hairStyle`=(`playerBytes`>>16)&0xFF,
|
||||
`hairColor`=(`playerBytes`>>24)&0xFF,
|
||||
`facialStyle`=`playerBytes2`&0xFF,
|
||||
`bankSlots`=(`playerBytes2`>>16)&0xFF,
|
||||
`restState`=(`playerBytes2`>>24)&0xFF;
|
||||
|
||||
ALTER TABLE `characters` DROP `playerBytes`, DROP `playerBytes2`;
|
||||
@@ -1 +1,2 @@
|
||||
-- TDB 4.3.4-12 characters database
|
||||
UPDATE `updates` SET `state`='ARCHIVED';
|
||||
Reference in New Issue
Block a user