mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[9262] Allow larger value in database quest_template.QuestFlags
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
c52331d680
commit
203faef9fd
5 changed files with 9 additions and 4 deletions
|
|
@ -24,7 +24,7 @@ CREATE TABLE `db_version` (
|
||||||
`version` varchar(120) default NULL,
|
`version` varchar(120) default NULL,
|
||||||
`creature_ai_version` varchar(120) default NULL,
|
`creature_ai_version` varchar(120) default NULL,
|
||||||
`cache_id` int(10) default '0',
|
`cache_id` int(10) default '0',
|
||||||
`required_9244_02_mangos_spell_chain` bit(1) default NULL
|
`required_9262_01_mangos_quest_template` bit(1) default NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
||||||
|
|
||||||
--
|
--
|
||||||
|
|
@ -13787,7 +13787,7 @@ CREATE TABLE `quest_template` (
|
||||||
`RequiredMaxRepValue` mediumint(9) NOT NULL default '0',
|
`RequiredMaxRepValue` mediumint(9) NOT NULL default '0',
|
||||||
`SuggestedPlayers` tinyint(3) unsigned NOT NULL default '0',
|
`SuggestedPlayers` tinyint(3) unsigned NOT NULL default '0',
|
||||||
`LimitTime` int(10) unsigned NOT NULL default '0',
|
`LimitTime` int(10) unsigned NOT NULL default '0',
|
||||||
`QuestFlags` smallint(5) unsigned NOT NULL default '0',
|
`QuestFlags` mediumint(8) unsigned NOT NULL default '0',
|
||||||
`SpecialFlags` tinyint(3) unsigned NOT NULL default '0',
|
`SpecialFlags` tinyint(3) unsigned NOT NULL default '0',
|
||||||
`CharTitleId` tinyint(3) unsigned NOT NULL default '0',
|
`CharTitleId` tinyint(3) unsigned NOT NULL default '0',
|
||||||
`PlayersSlain` tinyint(3) unsigned NOT NULL default '0',
|
`PlayersSlain` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
|
|
||||||
3
sql/updates/9262_01_mangos_quest_template.sql
Normal file
3
sql/updates/9262_01_mangos_quest_template.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
ALTER TABLE db_version CHANGE COLUMN required_9244_02_mangos_spell_chain required_9262_01_mangos_quest_template bit;
|
||||||
|
|
||||||
|
ALTER TABLE quest_template CHANGE COLUMN QuestFlags QuestFlags mediumint(8) UNSIGNED NOT NULL default '0';
|
||||||
|
|
@ -252,6 +252,7 @@ pkgdata_DATA = \
|
||||||
9244_02_mangos_spell_chain.sql \
|
9244_02_mangos_spell_chain.sql \
|
||||||
9246_01_characters_character.sql \
|
9246_01_characters_character.sql \
|
||||||
9250_01_characters_character.sql \
|
9250_01_characters_character.sql \
|
||||||
|
9262_01_mangos_quest_template.sql \
|
||||||
README
|
README
|
||||||
|
|
||||||
## Additional files to include when running 'make dist'
|
## Additional files to include when running 'make dist'
|
||||||
|
|
@ -484,4 +485,5 @@ EXTRA_DIST = \
|
||||||
9244_02_mangos_spell_chain.sql \
|
9244_02_mangos_spell_chain.sql \
|
||||||
9246_01_characters_character.sql \
|
9246_01_characters_character.sql \
|
||||||
9250_01_characters_character.sql \
|
9250_01_characters_character.sql \
|
||||||
|
9262_01_mangos_quest_template.sql \
|
||||||
README
|
README
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9261"
|
#define REVISION_NR "9262"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#ifndef __REVISION_SQL_H__
|
#ifndef __REVISION_SQL_H__
|
||||||
#define __REVISION_SQL_H__
|
#define __REVISION_SQL_H__
|
||||||
#define REVISION_DB_CHARACTERS "required_9250_01_characters_character"
|
#define REVISION_DB_CHARACTERS "required_9250_01_characters_character"
|
||||||
#define REVISION_DB_MANGOS "required_9244_02_mangos_spell_chain"
|
#define REVISION_DB_MANGOS "required_9262_01_mangos_quest_template"
|
||||||
#define REVISION_DB_REALMD "required_9010_01_realmd_realmlist"
|
#define REVISION_DB_REALMD "required_9010_01_realmd_realmlist"
|
||||||
#endif // __REVISION_SQL_H__
|
#endif // __REVISION_SQL_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue