diff options
author | panikon <panikon@zoho.com> | 2014-03-25 20:23:39 -0300 |
---|---|---|
committer | panikon <panikon@zoho.com> | 2014-03-25 20:23:39 -0300 |
commit | 4b1cc23085b858364a332bdf03d634656778b1e6 (patch) | |
tree | 3928d9a1852ea0a49b6d6826e6a4f2730067b6ed /sql-files | |
parent | 70a33d30013ada46b208506ac4b5a0861f5d6abb (diff) | |
download | hercules-4b1cc23085b858364a332bdf03d634656778b1e6.tar.gz hercules-4b1cc23085b858364a332bdf03d634656778b1e6.tar.bz2 hercules-4b1cc23085b858364a332bdf03d634656778b1e6.tar.xz hercules-4b1cc23085b858364a332bdf03d634656778b1e6.zip |
Added new return values to make_new_char_sql
Added char_id to charlog
Corrected RE check in skill_magic_reflect (see commit c9310f3)
Diffstat (limited to 'sql-files')
-rw-r--r-- | sql-files/main.sql | 2 | ||||
-rw-r--r-- | sql-files/upgrades/2014-03-25--23-57.sql | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql index 654eee9f0..49d35a287 100644 --- a/sql-files/main.sql +++ b/sql-files/main.sql @@ -127,6 +127,7 @@ CREATE TABLE IF NOT EXISTS `charlog` ( `time` datetime NOT NULL default '0000-00-00 00:00:00', `char_msg` varchar(255) NOT NULL default 'char select', `account_id` int(11) NOT NULL default '0', + `char_id` int(11) unsigned NOT NULL default '0', `char_num` tinyint(4) NOT NULL default '0', `name` varchar(23) NOT NULL default '', `str` int(11) unsigned NOT NULL default '0', @@ -663,6 +664,7 @@ INSERT INTO `sql_updates` (`timestamp`) VALUES (1387844126); -- 2013-12-24--00-1 INSERT INTO `sql_updates` (`timestamp`) VALUES (1388854043); -- 2014-01-04--16-47.sql INSERT INTO `sql_updates` (`timestamp`) VALUES (1389028967); -- 2014-01-06--17-22.sql INSERT INTO `sql_updates` (`timestamp`) VALUES (1392832626); -- 2014-02-19--17-57.sql +INSERT INTO `sql_updates` (`timestamp`) VALUES (1395789302); -- 2014-03-25--23-57.sql -- -- Table structure for table `sstatus` diff --git a/sql-files/upgrades/2014-03-25--23-57.sql b/sql-files/upgrades/2014-03-25--23-57.sql new file mode 100644 index 000000000..f5c3aad00 --- /dev/null +++ b/sql-files/upgrades/2014-03-25--23-57.sql @@ -0,0 +1,3 @@ +#1395789302 +ALTER TABLE `charlog` ADD COLUMN `char_id` int(11) unsigned NOT NULL default '0' AFTER `account_id`; +INSERT INTO `sql_updates` (`timestamp`) VALUES (1395789302); |