diff options
-rw-r--r-- | sql-files/main.sql | 7 | ||||
-rw-r--r-- | sql-files/upgrades/2013-11-09--00-03.sql | 5 | ||||
-rw-r--r-- | sql-files/upgrades/index.txt | 3 |
3 files changed, 11 insertions, 4 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql index 387d01893..23170096f 100644 --- a/sql-files/main.sql +++ b/sql-files/main.sql @@ -667,6 +667,7 @@ INSERT INTO `sql_updates` (`timestamp`) VALUES (1382892428); INSERT INTO `sql_updates` (`timestamp`) VALUES (1383162785); INSERT INTO `sql_updates` (`timestamp`) VALUES (1383167577); INSERT INTO `sql_updates` (`timestamp`) VALUES (1383205740); +INSERT INTO `sql_updates` (`timestamp`) VALUES (1383955424); -- -- Table structure for table `sstatus` @@ -721,9 +722,9 @@ INSERT INTO `interreg` (`varname`, `value`) VALUES CREATE TABLE IF NOT EXISTS `account_data` ( `account_id` int(11) unsigned NOT NULL default '0', `bank_vault` int(11) unsigned NOT NULL default '0', - `base_exp` TINYINT( 4 ) UNSIGNED NOT NULL default '0', - `base_drop` TINYINT( 4 ) UNSIGNED NOT NULL default '0', - `base_death` TINYINT( 4 ) UNSIGNED NOT NULL default '0', + `base_exp` TINYINT( 4 ) UNSIGNED NOT NULL default '100', + `base_drop` TINYINT( 4 ) UNSIGNED NOT NULL default '100', + `base_death` TINYINT( 4 ) UNSIGNED NOT NULL default '100', PRIMARY KEY (`account_id`) ) ENGINE=MyISAM; diff --git a/sql-files/upgrades/2013-11-09--00-03.sql b/sql-files/upgrades/2013-11-09--00-03.sql new file mode 100644 index 000000000..09c63307f --- /dev/null +++ b/sql-files/upgrades/2013-11-09--00-03.sql @@ -0,0 +1,5 @@ +#1383955424 +ALTER TABLE `account_data` MODIFY `base_exp` TINYINT( 4 ) UNSIGNED NOT NULL default '100'; +ALTER TABLE `account_data` MODIFY `base_drop` TINYINT( 4 ) UNSIGNED NOT NULL default '100'; +ALTER TABLE `account_data` MODIFY `base_death` TINYINT( 4 ) UNSIGNED NOT NULL default '100'; +INSERT INTO `sql_updates` (`timestamp`) VALUES (1383955424);
\ No newline at end of file diff --git a/sql-files/upgrades/index.txt b/sql-files/upgrades/index.txt index 133366319..9074f5c62 100644 --- a/sql-files/upgrades/index.txt +++ b/sql-files/upgrades/index.txt @@ -9,4 +9,5 @@ 2013-10-27--16-47.sql 2013-10-30--19-53.sql 2013-10-30--21-12.sql -2013-10-31--07-49.sql
\ No newline at end of file +2013-10-31--07-49.sql +2013-11-09--00-03.sql
\ No newline at end of file |