summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
authorakrus <akrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-31 07:19:38 +0000
committerakrus <akrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-31 07:19:38 +0000
commitf184a1ffa46cfeabf711a5ca6db3da6944cf79ab (patch)
treee4c259fb9e510925fd742ded5a7cc1f594196030 /sql-files
parent349da469d7355798a916749d055ab2c131bffe76 (diff)
downloadhercules-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
Diffstat (limited to 'sql-files')
-rw-r--r--sql-files/logs.sql4
-rw-r--r--sql-files/upgrade_svn13025_log.sql5
2 files changed, 7 insertions, 2 deletions
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;