From 5963d02750e7b5028af80b35b4f2052ccd198d83 Mon Sep 17 00:00:00 2001 From: Nay Date: Mon, 10 Sep 2012 00:41:35 +0100 Subject: SQL: Update characters_database.sql --- sql/base/characters_database.sql | 30 +++++++++++++++++++++- .../2012_09_09_00_characters_guild_news.sql | 11 -------- .../2012_09_09_00_characters_guild_news_434.sql | 11 ++++++++ 3 files changed, 40 insertions(+), 12 deletions(-) delete mode 100644 sql/updates/characters/2012_09_09_00_characters_guild_news.sql create mode 100644 sql/updates/characters/2012_09_09_00_characters_guild_news_434.sql (limited to 'sql') diff --git a/sql/base/characters_database.sql b/sql/base/characters_database.sql index d14c57bdf45..fe2a859d5e6 100644 --- a/sql/base/characters_database.sql +++ b/sql/base/characters_database.sql @@ -1897,6 +1897,34 @@ LOCK TABLES `guild_member` WRITE; /*!40000 ALTER TABLE `guild_member` ENABLE KEYS */; UNLOCK TABLES; +-- +-- Table structure for table `guild_news_log` +-- + +DROP TABLE IF EXISTS `guild_news_log`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `guild_news_log` ( + `guild` int(10) unsigned NOT NULL, + `id` int(10) unsigned NOT NULL, + `eventType` int(10) unsigned NOT NULL, + `playerGuid` bigint(20) unsigned NOT NULL, + `data` int(10) unsigned NOT NULL, + `flags` int(10) unsigned NOT NULL, + `date` int(10) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`guild`,`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `guild_news_log` +-- + +LOCK TABLES `guild_news_log` WRITE; +/*!40000 ALTER TABLE `guild_news_log` DISABLE KEYS */; +/*!40000 ALTER TABLE `guild_news_log` ENABLE KEYS */; +UNLOCK TABLES; + -- -- Table structure for table `guild_rank` -- @@ -2419,4 +2447,4 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2012-09-08 15:27:29 +-- Dump completed on 2012-09-10 0:40:44 diff --git a/sql/updates/characters/2012_09_09_00_characters_guild_news.sql b/sql/updates/characters/2012_09_09_00_characters_guild_news.sql deleted file mode 100644 index 78fa817678b..00000000000 --- a/sql/updates/characters/2012_09_09_00_characters_guild_news.sql +++ /dev/null @@ -1,11 +0,0 @@ -DROP TABLE IF EXISTS `guild_news_log`; -CREATE TABLE `guild_news_log` ( - `guild` int(10) unsigned NOT NULL, - `id` int(10) unsigned NOT NULL, - `eventType` int(10) unsigned NOT NULL, - `playerGuid` bigint(20) unsigned NOT NULL, - `data` int(10) unsigned NOT NULL, - `flags` int(10) unsigned NOT NULL, - `date` int(10) unsigned NOT NULL DEFAULT '0', - PRIMARY KEY (`guild`,`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; diff --git a/sql/updates/characters/2012_09_09_00_characters_guild_news_434.sql b/sql/updates/characters/2012_09_09_00_characters_guild_news_434.sql new file mode 100644 index 00000000000..78fa817678b --- /dev/null +++ b/sql/updates/characters/2012_09_09_00_characters_guild_news_434.sql @@ -0,0 +1,11 @@ +DROP TABLE IF EXISTS `guild_news_log`; +CREATE TABLE `guild_news_log` ( + `guild` int(10) unsigned NOT NULL, + `id` int(10) unsigned NOT NULL, + `eventType` int(10) unsigned NOT NULL, + `playerGuid` bigint(20) unsigned NOT NULL, + `data` int(10) unsigned NOT NULL, + `flags` int(10) unsigned NOT NULL, + `date` int(10) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`guild`,`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- cgit v1.2.3