aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/base/world_database.sql1
-rw-r--r--sql/updates/9196_world_conditions.sql1
2 files changed, 2 insertions, 0 deletions
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`;