Skip to content

Commit

Permalink
Fix bots table
Browse files Browse the repository at this point in the history
  • Loading branch information
celguar committed Mar 20, 2023
1 parent eebbdb2 commit 79dc86a
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Launcher.bat
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ set /a world_version=14
set /a chars_version=8
set /a realm_version=3
set /a logs_version=1
set /a bots_version=13
set /a bots_version=14
set /a website_db_version=4
set /a core_version=21

Expand All @@ -367,7 +367,7 @@ set /a world_version=14
set /a chars_version=7
set /a realm_version=3
set /a logs_version=1
set /a bots_version=12
set /a bots_version=13
set /a website_db_version=4
set /a core_version=19

Expand All @@ -394,7 +394,7 @@ set /a world_version=12
set /a chars_version=5
set /a realm_version=3
set /a logs_version=1
set /a bots_version=8
set /a bots_version=9
set /a website_db_version=4
set /a core_version=15

Expand Down
2 changes: 1 addition & 1 deletion sql/tbc/playerbot/characters_ai_playerbot.sql
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ CREATE TABLE `ai_playerbot_db_store` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`guid` bigint(20) NOT NULL,
`key` varchar(32) NOT NULL,
`value` varchar(255) DEFAULT NULL,
`value` varchar(4000) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `guid` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1 change: 1 addition & 0 deletions sql/tbc/updates/playerbot/13/fix_length.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `ai_playerbot_db_store` CHANGE COLUMN `value` `value` VARCHAR(4000) NULL DEFAULT NULL COLLATE 'utf8_general_ci' AFTER `key`;
2 changes: 1 addition & 1 deletion sql/vanilla/playerbot/characters_ai_playerbot.sql
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ CREATE TABLE `ai_playerbot_db_store` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`guid` bigint(20) NOT NULL,
`key` varchar(32) NOT NULL,
`value` varchar(255) DEFAULT NULL,
`value` varchar(4000) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `guid` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1 change: 1 addition & 0 deletions sql/vanilla/updates/playerbot/14/fix_length.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `ai_playerbot_db_store` CHANGE COLUMN `value` `value` VARCHAR(4000) NULL DEFAULT NULL COLLATE 'utf8_general_ci' AFTER `key`;
2 changes: 1 addition & 1 deletion sql/wotlk/playerbot/characters_ai_playerbot.sql
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ CREATE TABLE `ai_playerbot_db_store` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`guid` bigint(20) NOT NULL,
`key` varchar(32) NOT NULL,
`value` varchar(255) DEFAULT NULL,
`value` varchar(4000) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `guid` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1 change: 1 addition & 0 deletions sql/wotlk/updates/playerbot/9/fix_length.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `ai_playerbot_db_store` CHANGE COLUMN `value` `value` VARCHAR(4000) NULL DEFAULT NULL COLLATE 'utf8_general_ci' AFTER `key`;

0 comments on commit 79dc86a

Please sign in to comment.