Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[13957] Playerbot: move SQL updates into core
- Loading branch information
Showing
9 changed files
with
230 additions
and
60 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
sql/updates/characters/13957_02_characters_playerbot_saved_data.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
ALTER TABLE character_db_version CHANGE COLUMN required_13957_01_characters_playerbot_talentspec required_13957_02_characters_playerbot_saved_data bit; | ||
|
||
-- ---------------------------- | ||
-- Table structure for `playerbot_saved_data` | ||
-- ---------------------------- | ||
DROP TABLE IF EXISTS `playerbot_saved_data`; | ||
CREATE TABLE `playerbot_saved_data` ( | ||
`guid` int(11) unsigned NOT NULL DEFAULT '0', | ||
`combat_order` int(11) unsigned NOT NULL DEFAULT '0', | ||
`primary_target` int(11) unsigned NOT NULL DEFAULT '0', | ||
`secondary_target` int(11) unsigned NOT NULL DEFAULT '0', | ||
`pname` varchar(12) NOT NULL DEFAULT '', | ||
`sname` varchar(12) NOT NULL DEFAULT '', | ||
`combat_delay` INT(11) unsigned NOT NULL DEFAULT '0', | ||
`auto_follow` INT(11) unsigned NOT NULL DEFAULT '1', | ||
`autoequip` tinyint(1) NOT NULL DEFAULT '0', | ||
PRIMARY KEY (`guid`) | ||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Persistent Playerbot settings per alt'; | ||
|
10 changes: 10 additions & 0 deletions
10
sql/updates/characters/13957_03_characters_playerbot_quest_data.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ALTER TABLE character_db_version CHANGE COLUMN required_13957_02_characters_playerbot_saved_data required_13957_03_characters_playerbot_quest_data bit; | ||
|
||
-- ---------------------------- | ||
-- Table structure for `playerbot_quest_data` | ||
-- ---------------------------- | ||
DROP TABLE IF EXISTS `playerbot_quest_data`; | ||
CREATE TABLE `playerbot_quest_data` ( | ||
`autocomplete` mediumint(8) unsigned NOT NULL, | ||
PRIMARY KEY (`autocomplete`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; |
2 changes: 2 additions & 0 deletions
2
sql/PlayerBot/mangos_botguy_001.sql → ...os/13957_01_mangos_gossip_menu_option.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
ALTER TABLE db_version CHANGE COLUMN required_13956_01_mangos_spell_chain_totems_typos required_13957_01_mangos_gossip_menu_option bit; | ||
|
||
INSERT INTO `gossip_menu_option` VALUES('0','16','0','GOSSIP_OPTION_BOT','99','1','0','0','0','0','0',NULL,'0','0','0','0','0','0','0','0','0'); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Grz3s
Member
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#ifndef __REVISION_SQL_H__ | ||
#define __REVISION_SQL_H__ | ||
#define REVISION_DB_REALMD "required_10008_01_realmd_realmd_db_version" | ||
#define REVISION_DB_CHARACTERS "required_12949_01_characters_mangle_cleanup" | ||
#define REVISION_DB_MANGOS "required_13956_01_mangos_spell_chain_totems_typos" | ||
#define REVISION_DB_CHARACTERS "required_13957_03_characters_playerbot_quest_data" | ||
#define REVISION_DB_MANGOS "required_13957_01_mangos_gossip_menu_option" | ||
#endif // __REVISION_SQL_H__ |
Long stitch )