Skip to content

Commit 7ea1549

Browse files
committed
Fix sql revision order after last commit
1 parent 145c486 commit 7ea1549

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

sql/base/mangos.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ DROP TABLE IF EXISTS `db_version`;
2323
CREATE TABLE `db_version` (
2424
`version` varchar(120) DEFAULT NULL,
2525
`creature_ai_version` varchar(120) DEFAULT NULL,
26-
`required_s2342_01_mangos_game_event_creature_data` bit(1) DEFAULT NULL
26+
`required_s2343_01_mangos_quest_template` bit(1) DEFAULT NULL
2727
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Used DB version notes';
2828

2929
--
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ALTER TABLE db_version CHANGE COLUMN required_s2342_01_mangos_quest_template required_s2342_01_mangos_game_event_creature_data bit;
1+
ALTER TABLE db_version CHANGE COLUMN required_s2341_01_mangos_game_event required_s2342_01_mangos_game_event_creature_data bit;
22

33
ALTER TABLE `game_event_creature_data`
44
ADD COLUMN `vendor_id` mediumint(8) UNSIGNED NOT NULL DEFAULT '0' AFTER `equipment_id`;
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
ALTER TABLE db_version CHANGE COLUMN required_s2341_01_mangos_game_event required_s2342_01_mangos_quest_template bit;
1+
ALTER TABLE db_version CHANGE COLUMN required_s2342_01_mangos_game_event_creature_data required_s2343_01_mangos_quest_template bit;
22

33
ALTER TABLE quest_template
44
ADD COLUMN RewMaxRepValue1 MEDIUMINT(8) NOT NULL DEFAULT 0 AFTER RewRepValue5,
55
ADD COLUMN RewMaxRepValue2 MEDIUMINT(8) NOT NULL DEFAULT 0 AFTER RewMaxRepValue1,
66
ADD COLUMN RewMaxRepValue3 MEDIUMINT(8) NOT NULL DEFAULT 0 AFTER RewMaxRepValue2,
77
ADD COLUMN RewMaxRepValue4 MEDIUMINT(8) NOT NULL DEFAULT 0 AFTER RewMaxRepValue3,
88
ADD COLUMN RewMaxRepValue5 MEDIUMINT(8) NOT NULL DEFAULT 0 AFTER RewMaxRepValue4;
9-
10-

src/shared/revision_sql.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
#define __REVISION_SQL_H__
33
#define REVISION_DB_REALMD "required_s2325_01_realmd"
44
#define REVISION_DB_CHARACTERS "required_s2337_01_characters_weekly_quests"
5-
#define REVISION_DB_MANGOS "required_s2342_01_mangos_game_event_creature_data"
5+
#define REVISION_DB_MANGOS "required_s2343_01_mangos_quest_template"
66
#endif // __REVISION_SQL_H__

0 commit comments

Comments
 (0)