mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[0099] Fix character_phase_data.
Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
parent
8ce96f2ed7
commit
1117cdaec9
4 changed files with 7 additions and 4 deletions
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
DROP TABLE IF EXISTS `character_db_version`;
|
||||
CREATE TABLE `character_db_version` (
|
||||
`required_0028_xxxxx_01_characters_character_phase_data` bit(1) default NULL
|
||||
`required_0096_xxxxx_01_characters_character_phase_data` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Last applied sql update to DB';
|
||||
|
||||
--
|
||||
|
|
@ -678,7 +678,7 @@ DROP TABLE IF EXISTS `character_phase_data`;
|
|||
CREATE TABLE `character_phase_data` (
|
||||
`guid` int(11) NOT NULL,
|
||||
`map` smallint(6) NOT NULL,
|
||||
`phase` int(11) NOT NULL,
|
||||
`phase` int(11) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
ALTER TABLE character_db_version CHANGE COLUMN required_0096_xxxxx_01_characters_characters required_0099_xxxxx_01_characters_character_phase_data bit;
|
||||
|
||||
ALTER TABLE `character_phase_data` CHANGE COLUMN `phase` `phase` int(11) NOT NULL DEFAULT 0 COMMENT '';
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "0097"
|
||||
#define REVISION_NR "0099"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef __REVISION_SQL_H__
|
||||
#define __REVISION_SQL_H__
|
||||
#define REVISION_DB_CHARACTERS "required_0096_xxxxx_01_characters_characters"
|
||||
#define REVISION_DB_CHARACTERS "required_0096_xxxxx_01_characters_character_phase_data"
|
||||
#define REVISION_DB_MANGOS "required_0083_12090_01_mangos_spell_template"
|
||||
#define REVISION_DB_REALMD "required_0014_xxxxx_01_realmd_account_access"
|
||||
#endif // __REVISION_SQL_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue