mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[0177] Fix fail
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
This commit is contained in:
parent
7b7af4d67e
commit
a8ba4103b6
4 changed files with 23 additions and 3 deletions
|
|
@ -24,7 +24,7 @@ CREATE TABLE `db_version` (
|
|||
`version` varchar(120) default NULL,
|
||||
`creature_ai_version` varchar(120) default NULL,
|
||||
`cache_id` int(10) default '0',
|
||||
`required_0169_xxxxx_04_mangos_command` bit(1) default NULL
|
||||
`required_0177_xxxxx_01_mangos_gameobject_template` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
||||
|
||||
--
|
||||
|
|
@ -2142,6 +2142,15 @@ CREATE TABLE `gameobject_template` (
|
|||
`data21` int(10) unsigned NOT NULL default '0',
|
||||
`data22` int(10) unsigned NOT NULL default '0',
|
||||
`data23` int(10) unsigned NOT NULL default '0',
|
||||
`data24` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`data25` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`data26` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`data27` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`data28` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`data29` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`data30` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`data31` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`unk2` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`mingold` mediumint(8) unsigned NOT NULL default '0',
|
||||
`maxgold` mediumint(8) unsigned NOT NULL default '0',
|
||||
`ScriptName` varchar(64) NOT NULL default '',
|
||||
|
|
|
|||
11
sql/updates/0177_xxxxx_01_mangos_gameobject_template.sql
Normal file
11
sql/updates/0177_xxxxx_01_mangos_gameobject_template.sql
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_0176_xxxxx_01_mangos_gameobject_template required_0177_xxxxx_01_mangos_gameobject_template bit;
|
||||
|
||||
ALTER TABLE `gameobject_template` MODIFY COLUMN `data24` int(10) unsigned NOT NULL DEFAULT '0' AFTER `data23`;
|
||||
ALTER TABLE `gameobject_template` MODIFY COLUMN `data25` int(10) unsigned NOT NULL DEFAULT '0' AFTER `data24`;
|
||||
ALTER TABLE `gameobject_template` MODIFY COLUMN `data26` int(10) unsigned NOT NULL DEFAULT '0' AFTER `data25`;
|
||||
ALTER TABLE `gameobject_template` MODIFY COLUMN `data27` int(10) unsigned NOT NULL DEFAULT '0' AFTER `data26`;
|
||||
ALTER TABLE `gameobject_template` MODIFY COLUMN `data28` int(10) unsigned NOT NULL DEFAULT '0' AFTER `data27`;
|
||||
ALTER TABLE `gameobject_template` MODIFY COLUMN `data29` int(10) unsigned NOT NULL DEFAULT '0' AFTER `data28`;
|
||||
ALTER TABLE `gameobject_template` MODIFY COLUMN `data30` int(10) unsigned NOT NULL DEFAULT '0' AFTER `data29`;
|
||||
ALTER TABLE `gameobject_template` MODIFY COLUMN `data31` int(10) unsigned NOT NULL DEFAULT '0' AFTER `data30`;
|
||||
ALTER TABLE `gameobject_template` MODIFY COLUMN `unk2` int(10) unsigned NOT NULL DEFAULT '0' AFTER `data31`;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "0176"
|
||||
#define REVISION_NR "0177"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef __REVISION_SQL_H__
|
||||
#define __REVISION_SQL_H__
|
||||
#define REVISION_DB_CHARACTERS "required_0099_xxxxx_01_characters_character_phase_data"
|
||||
#define REVISION_DB_MANGOS "required_0176_xxxxx_01_mangos_gameobject_template"
|
||||
#define REVISION_DB_MANGOS "required_0177_xxxxx_01_mangos_gameobject_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