From 956fde1f0f40dadd3f69d56a6e9e6153873dd19c Mon Sep 17 00:00:00 2001 From: Magnifikator Date: Fri, 31 Jan 2014 15:53:05 +0000 Subject: DB/item_template: Set defaults of spellcharges_X to 0 instead of NULL Closes #10748 Signed-off-by: Duarte Duarte --- sql/updates/world/2014_01_31_01_world_item_template.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 sql/updates/world/2014_01_31_01_world_item_template.sql (limited to 'sql') diff --git a/sql/updates/world/2014_01_31_01_world_item_template.sql b/sql/updates/world/2014_01_31_01_world_item_template.sql new file mode 100644 index 00000000000..802b93c69cf --- /dev/null +++ b/sql/updates/world/2014_01_31_01_world_item_template.sql @@ -0,0 +1,5 @@ +ALTER TABLE `item_template` CHANGE `spellcharges_1` `spellcharges_1` SMALLINT( 6 ) NOT NULL DEFAULT '0', + CHANGE `spellcharges_2` `spellcharges_2` SMALLINT( 6 ) NOT NULL DEFAULT '0', + CHANGE `spellcharges_3` `spellcharges_3` SMALLINT( 6 ) NOT NULL DEFAULT '0', + CHANGE `spellcharges_4` `spellcharges_4` SMALLINT( 6 ) NOT NULL DEFAULT '0', + CHANGE `spellcharges_5` `spellcharges_5` SMALLINT( 6 ) NOT NULL DEFAULT '0'; -- cgit v1.2.3