From e4cab07f32c22fc0ffe8853608d26d15ffc73956 Mon Sep 17 00:00:00 2001 From: XTZGZoReX Date: Fri, 6 Aug 2010 16:33:31 +0200 Subject: * Add ScriptName to conditions. --HG-- branch : trunk --- sql/base/world_database.sql | 1 + sql/updates/9196_world_conditions.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 sql/updates/9196_world_conditions.sql (limited to 'sql') diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql index 100a578f60b..b354c82316c 100644 --- a/sql/base/world_database.sql +++ b/sql/base/world_database.sql @@ -725,6 +725,7 @@ CREATE TABLE `conditions` ( `ConditionValue2` mediumint(8) unsigned NOT NULL DEFAULT '0', `ConditionValue3` mediumint(8) unsigned NOT NULL DEFAULT '0', `ErrorTextId` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ScriptName` char(64) NOT NULL DEFAULT '', `Comment` varchar(255) DEFAULT NULL, PRIMARY KEY (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Condition System'; diff --git a/sql/updates/9196_world_conditions.sql b/sql/updates/9196_world_conditions.sql new file mode 100644 index 00000000000..f0db979c87e --- /dev/null +++ b/sql/updates/9196_world_conditions.sql @@ -0,0 +1 @@ +ALTER TABLE `conditions` ADD `ScriptName` char(64) NOT NULL DEFAULT '' AFTER `ErrorTextId`; -- cgit v1.2.3