summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
Diffstat (limited to 'sql-files')
-rw-r--r--sql-files/logs.sql2
-rw-r--r--sql-files/upgrade_svn15818_log.sql3
2 files changed, 4 insertions, 1 deletions
diff --git a/sql-files/logs.sql b/sql-files/logs.sql
index 1d5eaa413..bd33fbd1f 100644
--- a/sql-files/logs.sql
+++ b/sql-files/logs.sql
@@ -31,7 +31,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','E','B') NOT NULL default 'S',
+ `type` enum('M','T','V','S','N','A','E','B','I') 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_svn15818_log.sql b/sql-files/upgrade_svn15818_log.sql
new file mode 100644
index 000000000..2402ef6ca
--- /dev/null
+++ b/sql-files/upgrade_svn15818_log.sql
@@ -0,0 +1,3 @@
+-- Adds 'I' to `type` in `picklog` and `zenylog`
+
+ALTER TABLE `zenylog` MODIFY `type` ENUM('M','T','V','S','N','A','E','B','I') NOT NULL DEFAULT 'S';