Skip to content

Commit

Permalink
Update rAthena-logs-upgrade.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
jaBote committed Jul 22, 2014
1 parent 5955d81 commit 9a36b78
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions sql-files/upgrades/rAthena-logs-upgrade.sql
Expand Up @@ -4,10 +4,19 @@
-- 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 logs.sql
-- Last revised: March 21, 2014 20:30 GMT

-- Upgrades to table `picklog`
ALTER TABLE `picklog` MODIFY `type` enum('M','P','L','T','V','S','N','C','A','R','G','E','B','O','I','X','D','U') NOT NULL default 'P';
-- Last revised: July 22, 2014 20:45 GMT

-- Drop table `cashlog` since it's not used in Hercules
-- Comment it if you wish to keep the table
DROP TABLE IF EXISTS `cashlog`;

-- Upgrades to table `mvplog`
ALTER TABLE `mvplog` MODIFY `prize` INT(11) NOT NULL DEFAULT '0';

-- Upgrades to table `picklog`
ALTER TABLE `picklog` MODIFY `type` enum('M','P','L','T','V','S','N','C','A','R','G','E','B','O','I','X','D','U') NOT NULL default 'P';
ALTER TABLE `picklog` MODIFY `nameid` INT(11) NOT NULL DEFAULT '0';
ALTER TABLE `picklog` MODIFY `card0` INT(11) NOT NULL DEFAULT '0';
ALTER TABLE `picklog` MODIFY `card1` INT(11) NOT NULL DEFAULT '0';
ALTER TABLE `picklog` MODIFY `card2` INT(11) NOT NULL DEFAULT '0';
ALTER TABLE `picklog` MODIFY `card3` INT(11) NOT NULL DEFAULT '0';

0 comments on commit 9a36b78

Please sign in to comment.