mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-18 15:31:33 +00:00
Fix for npc_types table error setting SlowMitigation to null by default.
If you already ran the 4-12 update you do not need to run it again, just run the new one.
This commit is contained in:
parent
fb1d4109a9
commit
f6e6f10716
@ -2,6 +2,6 @@
|
|||||||
UPDATE npc_types SET slow_mitigation = slow_mitigation * 100;
|
UPDATE npc_types SET slow_mitigation = slow_mitigation * 100;
|
||||||
|
|
||||||
-- Change variable type from FLOAT TO INT
|
-- Change variable type from FLOAT TO INT
|
||||||
ALTER TABLE npc_types MODIFY slow_mitigation smallint(4);
|
ALTER TABLE npc_types MODIFY slow_mitigation smallint(4) NOT NULL DEFAULT '0';
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
3
utils/sql/git/required/2014_05_4_SlowMitigationFix.sql
Normal file
3
utils/sql/git/required/2014_05_4_SlowMitigationFix.sql
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
ALTER TABLE npc_types MODIFY slow_mitigation smallint(4) NOT NULL DEFAULT '0';
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user