summaryrefslogtreecommitdiff
path: root/sql-files/upgrades/rAthena-main-upgrade.sql
diff options
context:
space:
mode:
authorjaBote <jaBote@users.noreply.github.com>2014-03-26 14:00:35 +0100
committerjaBote <jaBote@users.noreply.github.com>2014-03-26 14:00:35 +0100
commitd739d89715e0800ac3c50cf46cea75735afe705c (patch)
tree6e96f6cf15401c16ba54fd76cbd8a8b48b7fcdb3 /sql-files/upgrades/rAthena-main-upgrade.sql
parent4b1cc23085b858364a332bdf03d634656778b1e6 (diff)
downloadhercules-d739d89715e0800ac3c50cf46cea75735afe705c.tar.gz
hercules-d739d89715e0800ac3c50cf46cea75735afe705c.tar.bz2
hercules-d739d89715e0800ac3c50cf46cea75735afe705c.tar.xz
hercules-d739d89715e0800ac3c50cf46cea75735afe705c.zip
Update rAthena-main-upgrade.sql
Following up latest commit that alters the database (4b1cc23085b858364a332bdf03d634656778b1e6). Logs converter isn't needing an upgrade yet.
Diffstat (limited to 'sql-files/upgrades/rAthena-main-upgrade.sql')
-rw-r--r--sql-files/upgrades/rAthena-main-upgrade.sql7
1 files changed, 6 insertions, 1 deletions
diff --git a/sql-files/upgrades/rAthena-main-upgrade.sql b/sql-files/upgrades/rAthena-main-upgrade.sql
index 9982322e5..266b61fd0 100644
--- a/sql-files/upgrades/rAthena-main-upgrade.sql
+++ b/sql-files/upgrades/rAthena-main-upgrade.sql
@@ -4,7 +4,7 @@
-- Remember to make a backup before applying.
-- We are not liable for any data loss this may cause.
-- Apply in the same database you applied your main.sql
--- Last revised: March 21, 2014 20:30 GMT
+-- Last revised: March 26, 2014 12:57 GMT
-- Drop table contents from ´sc_data´ since we use a different status order than rAthena
-- /!\ WARNING /!\ This will remove _ALL_ of the status effects active on the server
@@ -26,6 +26,10 @@ ALTER TABLE `char` CHANGE `moves` `slotchange` SMALLINT(3) UNSIGNED NOT NULL def
ADD `font` TINYINT( 3 ) UNSIGNED NOT NULL DEFAULT '0' AFTER `char_opt`;
+-- Upgrades for table `charlog`
+ALTER TABLE `charlog` ADD COLUMN `char_id` int(11) unsigned NOT NULL default '0' AFTER `account_id`;
+
+
-- Upgrades for table `guild_storage`
ALTER TABLE `guild_storage` MODIFY `bound` tinyint(1) unsigned NOT NULL default '0';
@@ -83,6 +87,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
-- Updates to table `storage`