mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[10628] SQL update for prev. commit
This commit is contained in:
parent
c955941b55
commit
fdc5a1dd67
5 changed files with 11 additions and 3 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_10621_01_mangos_quest_template` bit(1) default NULL
|
`required_10628_01_mangos_mangos_string` 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';
|
||||||
|
|
||||||
--
|
--
|
||||||
|
|
|
||||||
6
sql/updates/10628_01_mangos_mangos_string.sql
Normal file
6
sql/updates/10628_01_mangos_mangos_string.sql
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
ALTER TABLE db_version CHANGE COLUMN required_10621_01_mangos_quest_template required_10628_01_mangos_mangos_string bit;
|
||||||
|
|
||||||
|
DELETE FROM mangos_string WHERE entry IN (201);
|
||||||
|
|
||||||
|
INSERT INTO mangos_string VALUES
|
||||||
|
(201,'Object GUID is: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
|
||||||
|
|
@ -107,6 +107,7 @@ pkgdata_DATA = \
|
||||||
10582_01_mangos_spell_proc_event.sql \
|
10582_01_mangos_spell_proc_event.sql \
|
||||||
10604_01_mangos_spell_proc_event.sql \
|
10604_01_mangos_spell_proc_event.sql \
|
||||||
10621_01_mangos_quest_template.sql \
|
10621_01_mangos_quest_template.sql \
|
||||||
|
10628_01_mangos_mangos_string.sql \
|
||||||
README
|
README
|
||||||
|
|
||||||
## Additional files to include when running 'make dist'
|
## Additional files to include when running 'make dist'
|
||||||
|
|
@ -194,4 +195,5 @@ EXTRA_DIST = \
|
||||||
10582_01_mangos_spell_proc_event.sql \
|
10582_01_mangos_spell_proc_event.sql \
|
||||||
10604_01_mangos_spell_proc_event.sql \
|
10604_01_mangos_spell_proc_event.sql \
|
||||||
10621_01_mangos_quest_template.sql \
|
10621_01_mangos_quest_template.sql \
|
||||||
|
10628_01_mangos_mangos_string.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 "10627"
|
#define REVISION_NR "10628"
|
||||||
#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_10568_01_characters_character_tutorial"
|
#define REVISION_DB_CHARACTERS "required_10568_01_characters_character_tutorial"
|
||||||
#define REVISION_DB_MANGOS "required_10621_01_mangos_quest_template"
|
#define REVISION_DB_MANGOS "required_10628_01_mangos_mangos_string"
|
||||||
#define REVISION_DB_REALMD "required_10008_01_realmd_realmd_db_version"
|
#define REVISION_DB_REALMD "required_10008_01_realmd_realmd_db_version"
|
||||||
#endif // __REVISION_SQL_H__
|
#endif // __REVISION_SQL_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue