aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorShauren <none@none>2010-08-06 13:47:17 +0200
committerShauren <none@none>2010-08-06 13:47:17 +0200
commit07348ff4af2ff0fe7a300129896dc4ec8db431cc (patch)
tree427d0e9ad52dbb9522cde86bb8b7c492d765c231 /sql
parent6a202826e6c10ce722af7e86b11e015ead33aa6b (diff)
Added ScriptName to battleground_template for script system rewrite
--HG-- branch : trunk
Diffstat (limited to 'sql')
-rw-r--r--sql/base/world_database.sql1
-rw-r--r--sql/updates/9193_world_battleground_template.sql1
2 files changed, 2 insertions, 0 deletions
diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql
index a8d2f1530e9..2f2fb86997e 100644
--- a/sql/base/world_database.sql
+++ b/sql/base/world_database.sql
@@ -241,6 +241,7 @@ CREATE TABLE `battleground_template` (
`HordeStartLoc` mediumint(8) unsigned NOT NULL,
`HordeStartO` float NOT NULL,
`Weight` tinyint(2) unsigned NOT NULL DEFAULT 1,
+ `ScriptName` char(64) NOT NULL DEFAULT '',
`Comment` char(32) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
diff --git a/sql/updates/9193_world_battleground_template.sql b/sql/updates/9193_world_battleground_template.sql
new file mode 100644
index 00000000000..4a83af07e04
--- /dev/null
+++ b/sql/updates/9193_world_battleground_template.sql
@@ -0,0 +1 @@
+ALTER TABLE `battleground_template` ADD `ScriptName` char(64) NOT NULL DEFAULT '' AFTER `Weight`;