فهرست منبع

* Fixed: added 'E'-type zenylogs in sql table (bugreport:1957) [akrus]
- added sql file upgrade_svn13025_log.sql


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13025 54d463be-8e91-2dee-dedb-b68131a5f0ec

akrus 17 سال پیش
والد
کامیت
4232eaf3d5
3فایلهای تغییر یافته به همراه9 افزوده شده و 2 حذف شده
  1. 2 0
      Changelog-Trunk.txt
  2. 2 2
      sql-files/logs.sql
  3. 5 0
      sql-files/upgrade_svn13025_log.sql

+ 2 - 0
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]

+ 2 - 2
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`),

+ 5 - 0
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;