aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarbenium <carbenium@outlook.com>2015-07-19 18:22:19 +0200
committerCarbenium <carbenium@outlook.com>2015-07-19 18:25:55 +0200
commit006d95cb9a4aa55ae32fe6c3d39b5f7acd03fc5e (patch)
treeb3a32528cc874545d7491ddbccbc893cc1525c5e
parentcb0e6cac63638fd229cce16c341c6d3d2d77d0d9 (diff)
DB/Vendors: Adjust size of PlayerConditionID in npc_vendor to INT(10) UNSIGNED since it is a db2 index
-rw-r--r--sql/updates/world/2015_07_19_27_world.sql2
-rw-r--r--sql/updates/world/2015_07_19_29_world.sql2
2 files changed, 3 insertions, 1 deletions
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`;