diff --git a/sql-files/main.sql b/sql-files/main.sql index e81a7f5bef..50b3663765 100644 --- a/sql-files/main.sql +++ b/sql-files/main.sql @@ -235,7 +235,7 @@ CREATE TABLE IF NOT EXISTS `char` ( KEY `party_id` (`party_id`), KEY `guild_id` (`guild_id`), KEY `online` (`online`) -) ENGINE=MyISAM AUTO_INCREMENT=150000; +) ENGINE=MyISAM AUTO_INCREMENT=150000; -- -- Table structure for table `char_reg_num` @@ -281,7 +281,7 @@ CREATE TABLE IF NOT EXISTS `charlog` ( `luk` int(11) unsigned NOT NULL default '0', `hair` tinyint(4) NOT NULL default '0', `hair_color` int(11) NOT NULL default '0' -) ENGINE=MyISAM; +) ENGINE=MyISAM; -- -- Table structure for table `elemental` @@ -552,14 +552,14 @@ CREATE TABLE IF NOT EXISTS `hotkey` ( PRIMARY KEY (`char_id`,`hotkey`) ) ENGINE=MyISAM; --- +-- -- Table structure for table `interlog` -- CREATE TABLE IF NOT EXISTS `interlog` ( `time` datetime NOT NULL default '0000-00-00 00:00:00', `log` varchar(255) NOT NULL default '' -) ENGINE=MyISAM; +) ENGINE=MyISAM; -- -- Table structure for table `interreg` @@ -648,7 +648,7 @@ CREATE TABLE IF NOT EXISTS `login` ( `old_group` tinyint(3) NOT NULL default '0', PRIMARY KEY (`account_id`), KEY `name` (`userid`) -) ENGINE=MyISAM AUTO_INCREMENT=2000000; +) ENGINE=MyISAM AUTO_INCREMENT=2000000; -- added standard accounts for servers, VERY INSECURE!!! -- inserted into the table called login which is above diff --git a/sql-files/upgrades/upgrade_20160814.sql b/sql-files/upgrades/upgrade_20160814.sql index b3dabab523..d264a2cb5f 100644 --- a/sql-files/upgrades/upgrade_20160814.sql +++ b/sql-files/upgrades/upgrade_20160814.sql @@ -48,7 +48,7 @@ ALTER TABLE `guild_storage` ADD COLUMN `option_id4` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `option_parm3`, ADD COLUMN `option_val4` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `option_id4`, ADD COLUMN `option_parm4` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0' AFTER `option_val4`; - + ALTER TABLE `inventory` ADD COLUMN `option_id0` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `card3`, ADD COLUMN `option_val0` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `option_id0`, @@ -65,7 +65,7 @@ ALTER TABLE `inventory` ADD COLUMN `option_id4` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `option_parm3`, ADD COLUMN `option_val4` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `option_id4`, ADD COLUMN `option_parm4` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0' AFTER `option_val4`; - + ALTER TABLE `mail` ADD COLUMN `option_id0` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `card3`, ADD COLUMN `option_val0` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `option_id0`, @@ -82,7 +82,7 @@ ALTER TABLE `mail` ADD COLUMN `option_id4` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `option_parm3`, ADD COLUMN `option_val4` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `option_id4`, ADD COLUMN `option_parm4` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0' AFTER `option_val4`; - + ALTER TABLE `storage` ADD COLUMN `option_id0` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `card3`, ADD COLUMN `option_val0` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `option_id0`, diff --git a/sql-files/upgrades/upgrade_svn17014.sql b/sql-files/upgrades/upgrade_svn17014.sql index 9eee27ca50..6fddfaa39f 100644 --- a/sql-files/upgrades/upgrade_svn17014.sql +++ b/sql-files/upgrades/upgrade_svn17014.sql @@ -7,4 +7,4 @@ ALTER TABLE `elemental` CHANGE COLUMN `str` `atk1` MEDIUMINT(6) UNSIGNED NOT NUL CHANGE COLUMN `life_time` `flee` SMALLINT(4) UNSIGNED NOT NULL DEFAULT 0, ADD COLUMN `hit` SMALLINT(4) UNSIGNED NOT NULL DEFAULT 0 AFTER `flee`, ADD COLUMN `life_time` INT(11) NOT NULL DEFAULT 0 AFTER `hit`; - +