aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authortreeston <treeston.mmoc@gmail.com>2016-09-20 20:19:15 +0200
committerjoschiwald <joschiwald.trinity@gmail.com>2017-03-02 20:47:29 +0100
commit205ec4c3bf26d74fefa2452baae714c56d956956 (patch)
tree0841a7c4bcf3e13bfa6df282520898960b9009f5 /sql
parentb94642fb49305192f44387e520d1410b1552094f (diff)
Core/Unit: Standardize SetFacingTo and SetFacingToObject behavior while moving. Both now fail while moving unless arg2 bool is true.
Movement/SplineChain: Bump value range for DB chainId up to uint16 (0 to 65535) from uint8 (0 to 255). Turns out sniffs generate far more chains than I expected. (cherry picked from commit 2170541a51ced3c15675b8854e0ae49461884f8c) Code style follow-up, I blame Notepad++. (cherry picked from commit 7860da0de6e53c7740862cae18840c9d399dda7f)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2017_03_02_01_world_2016_09_20_02_world.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/updates/world/master/2017_03_02_01_world_2016_09_20_02_world.sql b/sql/updates/world/master/2017_03_02_01_world_2016_09_20_02_world.sql
new file mode 100644
index 00000000000..5a4e5f7fae5
--- /dev/null
+++ b/sql/updates/world/master/2017_03_02_01_world_2016_09_20_02_world.sql
@@ -0,0 +1,3 @@
+-- uint8 -> uint16 for chain ID
+ALTER TABLE `script_spline_chain_meta` MODIFY COLUMN `chainId` SMALLINT UNSIGNED NOT NULL;
+ALTER TABLE `script_spline_chain_waypoints` MODIFY COLUMN `chainId` SMALLINT UNSIGNED NOT NULL;