diff options
author | Dastgir <dastgirp@gmail.com> | 2018-09-02 10:54:35 +0530 |
---|---|---|
committer | Dastgir <dastgirp@gmail.com> | 2018-09-02 10:59:45 +0530 |
commit | 1da462a8038dd8160608133057b80c0b23bd6350 (patch) | |
tree | c7a83254cdc25b14c84e6ff73611726b728e4aa8 /sql-files/main.sql | |
parent | 611bda248b3cb221bef4ad81f74c0508a76095d9 (diff) | |
download | hercules-1da462a8038dd8160608133057b80c0b23bd6350.tar.gz hercules-1da462a8038dd8160608133057b80c0b23bd6350.tar.bz2 hercules-1da462a8038dd8160608133057b80c0b23bd6350.tar.xz hercules-1da462a8038dd8160608133057b80c0b23bd6350.zip |
Fixed issue #2187
card field is changed to INT in tables
Diffstat (limited to 'sql-files/main.sql')
-rw-r--r-- | sql-files/main.sql | 58 |
1 files changed, 30 insertions, 28 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql index d29f05a2e..1e95b36c5 100644 --- a/sql-files/main.sql +++ b/sql-files/main.sql @@ -75,10 +75,10 @@ CREATE TABLE IF NOT EXISTS `auction` ( `type` SMALLINT(6) NOT NULL DEFAULT '0', `refine` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', `attribute` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0', - `card0` SMALLINT(11) NOT NULL DEFAULT '0', - `card1` SMALLINT(11) NOT NULL DEFAULT '0', - `card2` SMALLINT(11) NOT NULL DEFAULT '0', - `card3` SMALLINT(11) NOT NULL DEFAULT '0', + `card0` INT(11) NOT NULL DEFAULT '0', + `card1` INT(11) NOT NULL DEFAULT '0', + `card2` INT(11) NOT NULL DEFAULT '0', + `card3` INT(11) NOT NULL DEFAULT '0', `opt_idx0` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', `opt_val0` SMALLINT(5) NOT NULL DEFAULT '0', `opt_idx1` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', @@ -152,10 +152,10 @@ CREATE TABLE IF NOT EXISTS `cart_inventory` ( `identify` SMALLINT(6) NOT NULL DEFAULT '0', `refine` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', `attribute` TINYINT(4) NOT NULL DEFAULT '0', - `card0` SMALLINT(11) NOT NULL DEFAULT '0', - `card1` SMALLINT(11) NOT NULL DEFAULT '0', - `card2` SMALLINT(11) NOT NULL DEFAULT '0', - `card3` SMALLINT(11) NOT NULL DEFAULT '0', + `card0` INT(11) NOT NULL DEFAULT '0', + `card1` INT(11) NOT NULL DEFAULT '0', + `card2` INT(11) NOT NULL DEFAULT '0', + `card3` INT(11) NOT NULL DEFAULT '0', `opt_idx0` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', `opt_val0` SMALLINT(5) NOT NULL DEFAULT '0', `opt_idx1` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', @@ -512,10 +512,10 @@ CREATE TABLE IF NOT EXISTS `guild_storage` ( `identify` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0', `refine` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', `attribute` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0', - `card0` SMALLINT(11) NOT NULL DEFAULT '0', - `card1` SMALLINT(11) NOT NULL DEFAULT '0', - `card2` SMALLINT(11) NOT NULL DEFAULT '0', - `card3` SMALLINT(11) NOT NULL DEFAULT '0', + `card0` INT(11) NOT NULL DEFAULT '0', + `card1` INT(11) NOT NULL DEFAULT '0', + `card2` INT(11) NOT NULL DEFAULT '0', + `card3` INT(11) NOT NULL DEFAULT '0', `opt_idx0` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', `opt_val0` SMALLINT(5) NOT NULL DEFAULT '0', `opt_idx1` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', @@ -587,10 +587,10 @@ CREATE TABLE IF NOT EXISTS `inventory` ( `identify` SMALLINT(6) NOT NULL DEFAULT '0', `refine` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', `attribute` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0', - `card0` SMALLINT(11) NOT NULL DEFAULT '0', - `card1` SMALLINT(11) NOT NULL DEFAULT '0', - `card2` SMALLINT(11) NOT NULL DEFAULT '0', - `card3` SMALLINT(11) NOT NULL DEFAULT '0', + `card0` INT(11) NOT NULL DEFAULT '0', + `card1` INT(11) NOT NULL DEFAULT '0', + `card2` INT(11) NOT NULL DEFAULT '0', + `card3` INT(11) NOT NULL DEFAULT '0', `opt_idx0` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', `opt_val0` SMALLINT(5) NOT NULL DEFAULT '0', `opt_idx1` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', @@ -711,10 +711,10 @@ CREATE TABLE IF NOT EXISTS `mail` ( `refine` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', `attribute` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0', `identify` SMALLINT(6) NOT NULL DEFAULT '0', - `card0` SMALLINT(11) NOT NULL DEFAULT '0', - `card1` SMALLINT(11) NOT NULL DEFAULT '0', - `card2` SMALLINT(11) NOT NULL DEFAULT '0', - `card3` SMALLINT(11) NOT NULL DEFAULT '0', + `card0` INT(11) NOT NULL DEFAULT '0', + `card1` INT(11) NOT NULL DEFAULT '0', + `card2` INT(11) NOT NULL DEFAULT '0', + `card3` INT(11) NOT NULL DEFAULT '0', `opt_idx0` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', `opt_val0` SMALLINT(5) NOT NULL DEFAULT '0', `opt_idx1` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', @@ -921,6 +921,8 @@ INSERT IGNORE INTO `sql_updates` (`timestamp`) VALUES (1527964800); -- 2018-06-0 INSERT IGNORE INTO `sql_updates` (`timestamp`) VALUES (1528026381); -- 2018-06-03--17-16.sql INSERT IGNORE INTO `sql_updates` (`timestamp`) VALUES (1528180320); -- 2018-06-05--12-02.sql INSERT IGNORE INTO `sql_updates` (`timestamp`) VALUES (1532403228); -- 2018-07-24--03-23.sql +INSERT IGNORE INTO `sql_updates` (`timestamp`) VALUES (1535865732); -- 2018-09-01--05-22.sql + -- -- Table structure for table `storage` -- @@ -934,10 +936,10 @@ CREATE TABLE IF NOT EXISTS `storage` ( `identify` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0', `refine` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', `attribute` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0', - `card0` SMALLINT(11) NOT NULL DEFAULT '0', - `card1` SMALLINT(11) NOT NULL DEFAULT '0', - `card2` SMALLINT(11) NOT NULL DEFAULT '0', - `card3` SMALLINT(11) NOT NULL DEFAULT '0', + `card0` INT(11) NOT NULL DEFAULT '0', + `card1` INT(11) NOT NULL DEFAULT '0', + `card2` INT(11) NOT NULL DEFAULT '0', + `card3` INT(11) NOT NULL DEFAULT '0', `opt_idx0` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', `opt_val0` SMALLINT(5) NOT NULL DEFAULT '0', `opt_idx1` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', @@ -964,10 +966,10 @@ CREATE TABLE IF NOT EXISTS `rodex_items` ( `identify` SMALLINT(6) NOT NULL DEFAULT '0', `refine` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', `attribute` TINYINT(4) NOT NULL DEFAULT '0', - `card0` SMALLINT(11) NOT NULL DEFAULT '0', - `card1` SMALLINT(11) NOT NULL DEFAULT '0', - `card2` SMALLINT(11) NOT NULL DEFAULT '0', - `card3` SMALLINT(11) NOT NULL DEFAULT '0', + `card0` INT(11) NOT NULL DEFAULT '0', + `card1` INT(11) NOT NULL DEFAULT '0', + `card2` INT(11) NOT NULL DEFAULT '0', + `card3` INT(11) NOT NULL DEFAULT '0', `opt_idx0` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', `opt_val0` SMALLINT(5) NOT NULL DEFAULT '0', `opt_idx1` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', |