diff options
author | Haruna <haru@dotalux.com> | 2014-04-26 14:19:26 +0200 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2014-04-26 14:19:26 +0200 |
commit | c1f1ca708d540215b8611529a18aef8201b84a71 (patch) | |
tree | 40bf7f3b99d7b37340d57709af86742e221585b6 /sql-files | |
parent | 946eaeb1d265de01aa3e0ca6769331c8342ffbf3 (diff) | |
parent | 47fae87d899c486223c0a5dd58caf76efc56ffb4 (diff) | |
download | hercules-c1f1ca708d540215b8611529a18aef8201b84a71.tar.gz hercules-c1f1ca708d540215b8611529a18aef8201b84a71.tar.bz2 hercules-c1f1ca708d540215b8611529a18aef8201b84a71.tar.xz hercules-c1f1ca708d540215b8611529a18aef8201b84a71.zip |
Merge pull request #277 from MrKeiKun/fix_char_make
Fixed issue with Character Creation
Diffstat (limited to 'sql-files')
-rw-r--r-- | sql-files/main.sql | 3 | ||||
-rw-r--r-- | sql-files/upgrades/2014-04-26--10-00.sql | 3 | ||||
-rw-r--r-- | sql-files/upgrades/index.txt | 3 |
3 files changed, 7 insertions, 2 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql index b7cf01937..25045226a 100644 --- a/sql-files/main.sql +++ b/sql-files/main.sql @@ -111,7 +111,7 @@ CREATE TABLE IF NOT EXISTS `char` ( `char_opt` INT( 11 ) unsigned NOT NULL default '0', `font` TINYINT( 3 ) UNSIGNED NOT NULL DEFAULT '0', `unban_time` int(11) unsigned NOT NULL default '0', - `uniqueitem_counter` bigint(20) NOT NULL, + `uniqueitem_counter` bigint(20) unsigned NOT NULL default '0', PRIMARY KEY (`char_id`), UNIQUE KEY `name_key` (`name`), KEY `account_id` (`account_id`), @@ -667,6 +667,7 @@ INSERT INTO `sql_updates` (`timestamp`) VALUES (1389028967); -- 2014-01-06--17-2 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 INSERT INTO `sql_updates` (`timestamp`) VALUES (1396893866); -- 2014-04-07--22-04.sql +INSERT INTO `sql_updates` (`timestamp`) VALUES (1398477600); -- 2014-04-26--10-00.sql -- -- Table structure for table `sstatus` diff --git a/sql-files/upgrades/2014-04-26--10-00.sql b/sql-files/upgrades/2014-04-26--10-00.sql new file mode 100644 index 000000000..de3fbd4c8 --- /dev/null +++ b/sql-files/upgrades/2014-04-26--10-00.sql @@ -0,0 +1,3 @@ +#1398477600 +ALTER TABLE `char` CHANGE COLUMN `uniqueitem_counter` `uniqueitem_counter` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0' ; +INSERT INTO `sql_updates` (`timestamp`) VALUES (1398477600); diff --git a/sql-files/upgrades/index.txt b/sql-files/upgrades/index.txt index 7ac2f9ceb..88019e12a 100644 --- a/sql-files/upgrades/index.txt +++ b/sql-files/upgrades/index.txt @@ -20,4 +20,5 @@ 2014-01-06--17-22.sql 2014-02-19--17-57.sql 2014-03-25--23-57.sql -2014-04-07--22-04.sql
\ No newline at end of file +2014-04-07--22-04.sql +2014-04-26--10-00.sql
\ No newline at end of file |