diff options
author | akrus <akrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-07-31 07:19:38 +0000 |
---|---|---|
committer | akrus <akrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-07-31 07:19:38 +0000 |
commit | f184a1ffa46cfeabf711a5ca6db3da6944cf79ab (patch) | |
tree | e4c259fb9e510925fd742ded5a7cc1f594196030 | |
parent | 349da469d7355798a916749d055ab2c131bffe76 (diff) | |
download | hercules-f184a1ffa46cfeabf711a5ca6db3da6944cf79ab.tar.gz hercules-f184a1ffa46cfeabf711a5ca6db3da6944cf79ab.tar.bz2 hercules-f184a1ffa46cfeabf711a5ca6db3da6944cf79ab.tar.xz hercules-f184a1ffa46cfeabf711a5ca6db3da6944cf79ab.zip |
* Fixed: added 'E'-type zenylogs in sql table (bugreport:1957) [akrus]
- added sql file upgrade_svn13025_log.sql
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13025 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | sql-files/logs.sql | 4 | ||||
-rw-r--r-- | sql-files/upgrade_svn13025_log.sql | 5 |
3 files changed, 9 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 9c7198d19..106ea4e64 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. 2008/07/31 + * Fixed: added 'E'-type zenylogs in sql table (bugreport:1957) [akrus] + - added sql file upgrade_svn13025_log.sql * Improved: added --enable-debug=gdb option in configure script to use gdb optimized debug mode [akrus] * Removed the mob controller system, now a customization (see topic:194375) [ultramage] * Fixed: commented out loginlog in convert engine sql tables (loginlog table is in logs database now) [akrus] diff --git a/sql-files/logs.sql b/sql-files/logs.sql index b46b34355..177dee870 100644 --- a/sql-files/logs.sql +++ b/sql-files/logs.sql @@ -22,7 +22,7 @@ CREATE TABLE `picklog` ( INDEX (`type`) ) ENGINE=MyISAM AUTO_INCREMENT=1 ; -#ZenyLog types (M)onsters,(T)rade,(V)ending Sell/Buy,(S)hop Sell/Buy,(N)PC Change amount,(A)dministrators +#ZenyLog types (M)onsters,(T)rade,(V)ending Sell/Buy,(S)hop Sell/Buy,(N)PC Change amount,(A)dministrators,(E)Mail #Database: log #Table: zenylog CREATE TABLE `zenylog` ( @@ -30,7 +30,7 @@ CREATE TABLE `zenylog` ( `time` datetime NOT NULL default '0000-00-00 00:00:00', `char_id` int(11) NOT NULL default '0', `src_id` int(11) NOT NULL default '0', - `type` enum('M','T','V','S','N','A') NOT NULL default 'S', + `type` enum('M','T','V','S','N','A','E') NOT NULL default 'S', `amount` int(11) NOT NULL default '0', `map` varchar(11) NOT NULL default '', PRIMARY KEY (`id`), diff --git a/sql-files/upgrade_svn13025_log.sql b/sql-files/upgrade_svn13025_log.sql new file mode 100644 index 000000000..702b30224 --- /dev/null +++ b/sql-files/upgrade_svn13025_log.sql @@ -0,0 +1,5 @@ +START TRANSACTION;
+
+ALTER TABLE `zenylog` MODIFY COLUMN `type` enum('M','T','V','S','N','A','E') NOT NULL default 'S';
+
+COMMIT;
|