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:
KayenEQ 2014-05-04 01:02:04 -04:00
parent fb1d4109a9
commit f6e6f10716
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,6 @@
UPDATE npc_types SET slow_mitigation = slow_mitigation * 100;
-- 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';

View File

@ -0,0 +1,3 @@
ALTER TABLE npc_types MODIFY slow_mitigation smallint(4) NOT NULL DEFAULT '0';