diff --git a/utils/sql/git/required/2014_04_12_SlowMitigation.sql b/utils/sql/git/required/2014_04_12_SlowMitigation.sql index f2ac0d68d..a497a525b 100644 --- a/utils/sql/git/required/2014_04_12_SlowMitigation.sql +++ b/utils/sql/git/required/2014_04_12_SlowMitigation.sql @@ -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'; diff --git a/utils/sql/git/required/2014_05_4_SlowMitigationFix.sql b/utils/sql/git/required/2014_05_4_SlowMitigationFix.sql new file mode 100644 index 000000000..bf657023c --- /dev/null +++ b/utils/sql/git/required/2014_05_4_SlowMitigationFix.sql @@ -0,0 +1,3 @@ +ALTER TABLE npc_types MODIFY slow_mitigation smallint(4) NOT NULL DEFAULT '0'; + +