diff options
| author | maximius <none@none> | 2009-08-08 15:05:21 -0700 |
|---|---|---|
| committer | maximius <none@none> | 2009-08-08 15:05:21 -0700 |
| commit | 64ee35bd94d70872d404c23094f96962fe8f6114 (patch) | |
| tree | ece661f589d14283948bffcd8806a583f53f2c98 /sql/updates | |
| parent | 38abfbeedde470a3798c1c4db237ded23291bce7 (diff) | |
*Added autoannounce to core, and optimized autobroadcast db query to put less strain on MySQL
--HG--
branch : trunk
Diffstat (limited to 'sql/updates')
| -rw-r--r-- | sql/updates/XXX_world_announce.sql | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/updates/XXX_world_announce.sql b/sql/updates/XXX_world_announce.sql new file mode 100644 index 00000000000..59accbfc9bb --- /dev/null +++ b/sql/updates/XXX_world_announce.sql @@ -0,0 +1,14 @@ +CREATE TABLE `autobroadcast` ( +`id` int(11) NOT NULL AUTO_INCREMENT, +`text` longtext NOT NULL, +PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +DELETE FROM `trinity_string` WHERE `entry` = 11000; +INSERT INTO `trinity_string` (entry, content_default, content_loc1, content_loc2, content_loc3, content_loc4, content_loc5, content_loc6, content_loc7, content_loc8) +VALUES (11000, '|cffffff00[|c00077766Autobroadcast|cffffff00]: |cFFF222FF%s|r', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); + +-- optional examples +-- insert into `autobroadcast` (`id`, `text`) values('1','All Battlegrounds and Arena's work on this server.'); +-- insert into `autobroadcast` (`id`, `text`) values('2','This server has 2 realms, The other realm is a PVP instant level 70 realm. Try it!'); +-- insert into `autobroadcast` (`id`, `text`) values('3','The Auction House on this server is always full, because we use an AH Bot.'); |
