From 65537c060c86398456736e1bd2eabd36f6f5846f Mon Sep 17 00:00:00 2001 From: Shadez Date: Fri, 28 Jan 2011 17:36:10 +0800 Subject: [PATCH] [465] Set default value for `character_feed_log`.`item_guid` cell to -1. Thanks for duergar85. --- includes/revision_nr.php | 2 +- tools/mangos/sql/characters.sql | 2 +- tools/trinity_core/sql/characters_patch.sql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/revision_nr.php b/includes/revision_nr.php index fb05afcc3..f322c8c86 100644 --- a/includes/revision_nr.php +++ b/includes/revision_nr.php @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/tools/mangos/sql/characters.sql b/tools/mangos/sql/characters.sql index 5399bd80b..f65e8dffe 100644 --- a/tools/mangos/sql/characters.sql +++ b/tools/mangos/sql/characters.sql @@ -13,6 +13,6 @@ CREATE TABLE `character_feed_log` ( `date` int(11) default NULL, `counter` int(11) NOT NULL, `difficulty` smallint(6) default '-1', - `item_guid` int(11) NOT NULL, + `item_guid` int(11) default '-1', PRIMARY KEY (`guid`,`type`,`data`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; \ No newline at end of file diff --git a/tools/trinity_core/sql/characters_patch.sql b/tools/trinity_core/sql/characters_patch.sql index c87c27e6b..9c4ea5b7f 100644 --- a/tools/trinity_core/sql/characters_patch.sql +++ b/tools/trinity_core/sql/characters_patch.sql @@ -13,7 +13,7 @@ CREATE TABLE `character_feed_log` ( `date` int(11) default NULL, `counter` int(11) NOT NULL, `difficulty` smallint(6) default '-1', - `item_guid` int(11) NOT NULL, + `item_guid` int(11) default '-1', PRIMARY KEY (`guid`,`type`,`data`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8;