diff options
Diffstat (limited to 'sql-files')
-rw-r--r-- | sql-files/logs.sql | 5 | ||||
-rw-r--r-- | sql-files/upgrade_svn15420_log.sql | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sql-files/logs.sql b/sql-files/logs.sql index 6a69e3e1f..411708d73 100644 --- a/sql-files/logs.sql +++ b/sql-files/logs.sql @@ -1,7 +1,8 @@ #PickLog types (M)onsters Drop, (P)layers Drop/Take, Mobs Drop (L)oot Drop/Take, # Players (T)rade Give/Take, Players (V)ending Sell/Take, (S)hop Sell/Take, (N)PC Give/Take, # (C)onsumable Items, (A)dministrators Create/Delete, Sto(R)age, (G)uild Storage, -# (E)mail attachment,(B)uying Store +# (E)mail attachment,(B)uying Store, Pr(O)duced Items/Ingredients, Auct(I)oned Items, +# (X) Other #Database: log #Table: picklog @@ -9,7 +10,7 @@ CREATE TABLE `picklog` ( `id` int(11) NOT NULL auto_increment, `time` datetime NOT NULL default '0000-00-00 00:00:00', `char_id` int(11) NOT NULL default '0', - `type` enum('M','P','L','T','V','S','N','C','A','R','G','E','B') NOT NULL default 'P', + `type` enum('M','P','L','T','V','S','N','C','A','R','G','E','B','O','I','X') NOT NULL default 'P', `nameid` int(11) NOT NULL default '0', `amount` int(11) NOT NULL default '1', `refine` tinyint(3) unsigned NOT NULL default '0', diff --git a/sql-files/upgrade_svn15420_log.sql b/sql-files/upgrade_svn15420_log.sql new file mode 100644 index 000000000..5e6e3c9e9 --- /dev/null +++ b/sql-files/upgrade_svn15420_log.sql @@ -0,0 +1,3 @@ +-- Adds 'I' and 'X' to `type` in `picklog` table + +ALTER TABLE `picklog` MODIFY `type` ENUM('M','P','L','T','V','S','N','C','A','R','G','E','B','O','I','X') NOT NULL DEFAULT 'P';
\ No newline at end of file |