From 006d95cb9a4aa55ae32fe6c3d39b5f7acd03fc5e Mon Sep 17 00:00:00 2001 From: Carbenium Date: Sun, 19 Jul 2015 18:22:19 +0200 Subject: DB/Vendors: Adjust size of PlayerConditionID in npc_vendor to INT(10) UNSIGNED since it is a db2 index --- sql/updates/world/2015_07_19_27_world.sql | 2 +- sql/updates/world/2015_07_19_29_world.sql | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 sql/updates/world/2015_07_19_29_world.sql (limited to 'sql') diff --git a/sql/updates/world/2015_07_19_27_world.sql b/sql/updates/world/2015_07_19_27_world.sql index 6d87d81e21d..8ec32a12803 100644 --- a/sql/updates/world/2015_07_19_27_world.sql +++ b/sql/updates/world/2015_07_19_27_world.sql @@ -1,3 +1,3 @@ ALTER TABLE `npc_vendor` ADD COLUMN `PlayerConditionID` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `type`, - ADD COLUMN `IgnoreFiltering` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0' AFTER `PlayerConditionID`; \ No newline at end of file + ADD COLUMN `IgnoreFiltering` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0' AFTER `PlayerConditionID`; diff --git a/sql/updates/world/2015_07_19_29_world.sql b/sql/updates/world/2015_07_19_29_world.sql new file mode 100644 index 00000000000..e0dec6f091a --- /dev/null +++ b/sql/updates/world/2015_07_19_29_world.sql @@ -0,0 +1,2 @@ +ALTER TABLE `npc_vendor` + CHANGE COLUMN `PlayerConditionID` `PlayerConditionID` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `type`; -- cgit v1.2.3