diff options
Diffstat (limited to 'sql-files')
-rw-r--r-- | sql-files/main.sql | 6 | ||||
-rw-r--r-- | sql-files/upgrades/2013-03-06--00-00.sql (renamed from sql-files/upgrades/upgrade_svn17178.sql) | 4 | ||||
-rw-r--r-- | sql-files/upgrades/2013-03-09--01-56.sql | 4 | ||||
-rw-r--r-- | sql-files/upgrades/index.txt | 4 |
4 files changed, 15 insertions, 3 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql index 3270bf7e2..b7b3e5226 100644 --- a/sql-files/main.sql +++ b/sql-files/main.sql @@ -438,7 +438,9 @@ CREATE TABLE IF NOT EXISTS `login` ( `lastlogin` datetime NOT NULL default '0000-00-00 00:00:00', `last_ip` varchar(100) NOT NULL default '', `birthdate` DATE NOT NULL DEFAULT '0000-00-00', - `character_slots` TINYINT( 3 ) unsigned NOT NULL, + `character_slots` TINYINT( 3 ) unsigned NOT NULL default '0', + `pincode` varchar(4) NOT NULL default '', + `pincode_change` int(11) unsigned NOT NULL default '0', PRIMARY KEY (`account_id`), KEY `name` (`userid`) ) ENGINE=MyISAM AUTO_INCREMENT=2000000; @@ -648,6 +650,8 @@ CREATE TABLE IF NOT EXISTS `sql_updates` ( INSERT INTO `sql_updates` (`timestamp`) VALUES (1360858500); INSERT INTO `sql_updates` (`timestamp`) VALUES (1360951560); INSERT INTO `sql_updates` (`timestamp`) VALUES (1362445531); +INSERT INTO `sql_updates` (`timestamp`) VALUES (1362528000); +INSERT INTO `sql_updates` (`timestamp`) VALUES (1362794218); -- -- Table structure for table `sstatus` diff --git a/sql-files/upgrades/upgrade_svn17178.sql b/sql-files/upgrades/2013-03-06--00-00.sql index 02c4c1475..844e3d8a8 100644 --- a/sql-files/upgrades/upgrade_svn17178.sql +++ b/sql-files/upgrades/2013-03-06--00-00.sql @@ -1,7 +1,9 @@ --- This script resets all quests that were done by your users before this revision +#1362528000 +-- This script resets all dewata quests that were done by your users before this revision -- Author: Euphy DELETE FROM `quest` WHERE `quest_id` > 5034 AND `quest_id` < 5055; DELETE FROM `quest` WHERE `quest_id` > 9154 AND `quest_id` < 9166; DELETE FROM `global_reg_value` WHERE `str` = 'dewata_gatti'; DELETE FROM `global_reg_value` WHERE `str` = 'dewata_legend'; DELETE FROM `global_reg_value` WHERE `str` = 'dewata_oldman'; +INSERT INTO `sql_updates` (`timestamp`) VALUES (1362528000);
\ No newline at end of file diff --git a/sql-files/upgrades/2013-03-09--01-56.sql b/sql-files/upgrades/2013-03-09--01-56.sql new file mode 100644 index 000000000..43811ee33 --- /dev/null +++ b/sql-files/upgrades/2013-03-09--01-56.sql @@ -0,0 +1,4 @@ +#1362794218 +ALTER TABLE `login` ADD COLUMN `pincode` varchar(4) NOT NULL DEFAULT ''; +ALTER TABLE `login` ADD COLUMN `pincode_change` int(11) unsigned NOT NULL DEFAULT '0'; +INSERT INTO `sql_updates` (`timestamp`) VALUES (1362794218);
\ No newline at end of file diff --git a/sql-files/upgrades/index.txt b/sql-files/upgrades/index.txt index bd835414c..a803adffc 100644 --- a/sql-files/upgrades/index.txt +++ b/sql-files/upgrades/index.txt @@ -1,3 +1,5 @@ 2013-02-14--16-15.sql 2013-02-15--18-06.sql -2013-03-05--01-05.sql
\ No newline at end of file +2013-03-05--01-05.sql +2013-03-06--00-00.sql +2013-03-09--01-56.sql
\ No newline at end of file |