Permalink
1 comment
on commit
sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Follow up to 7cd82d0.
- Fixed SQL queries to convert CARD0_PET to positive value before adjusting table to avoid setting the value to 0. - Thanks to Cydh.
- Loading branch information
Showing
with
9 additions
and 9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -1,8 +1,8 @@ | ||
| UPDATE `picklog` SET `card0` = 256 WHERE `card0` = -256; | ||
|
|
||
| ALTER TABLE `picklog` MODIFY `nameid` smallint(5) unsigned NOT NULL default '0'; | ||
| ALTER TABLE `picklog` MODIFY `card0` smallint(5) unsigned NOT NULL default '0'; | ||
| ALTER TABLE `picklog` MODIFY `card1` smallint(5) unsigned NOT NULL default '0'; | ||
| ALTER TABLE `picklog` MODIFY `card2` smallint(5) unsigned NOT NULL default '0'; | ||
| ALTER TABLE `picklog` MODIFY `card3` smallint(5) unsigned NOT NULL default '0'; | ||
| ALTER TABLE `mvplog` MODIFY `prize` smallint(5) unsigned NOT NULL default '0'; | ||
42b29eeThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are also losing named items, like Wedding Ring with cards 255 0 -18654 2 translated before this change to a correct charid 187530. Easy fix would be to CAST the values to unsigned before altering tables.