Selaa lähdekoodia

Removed ancient SQL Upgrade files.

* Old SVN upgrades are no longer needed.
* Retained the last 3 years of upgrades.

Signed-off-by: Akkarinage <akkarin@rathena.org>
Akkarinage 8 vuotta sitten
vanhempi
commit
9af37d21b7
37 muutettua tiedostoa jossa 0 lisäystä ja 219 poistoa
  1. 0 1
      sql-files/upgrades/upgrade_20131105.sql
  2. 0 11
      sql-files/upgrades/upgrade_20131111.sql
  3. 0 4
      sql-files/upgrades/upgrade_20131115.sql
  4. 0 3
      sql-files/upgrades/upgrade_20131115_2.sql
  5. 0 3
      sql-files/upgrades/upgrade_20131118.sql
  6. 0 5
      sql-files/upgrades/upgrade_20131227.sql
  7. 0 50
      sql-files/upgrades/upgrade_20131231.sql
  8. 0 1
      sql-files/upgrades/upgrade_svn15003.sql
  9. 0 3
      sql-files/upgrades/upgrade_svn15420_log.sql
  10. 0 3
      sql-files/upgrades/upgrade_svn15519_log.sql
  11. 0 4
      sql-files/upgrades/upgrade_svn15531_db.sql
  12. 0 3
      sql-files/upgrades/upgrade_svn15572.sql
  13. 0 3
      sql-files/upgrades/upgrade_svn15818_log.sql
  14. 0 24
      sql-files/upgrades/upgrade_svn15885.sql
  15. 0 3
      sql-files/upgrades/upgrade_svn15926_log.sql
  16. 0 1
      sql-files/upgrades/upgrade_svn16490.sql
  17. 0 1
      sql-files/upgrades/upgrade_svn16518.sql
  18. 0 1
      sql-files/upgrades/upgrade_svn16639.sql
  19. 0 2
      sql-files/upgrades/upgrade_svn16645.sql
  20. 0 1
      sql-files/upgrades/upgrade_svn16663.sql
  21. 0 2
      sql-files/upgrades/upgrade_svn16823.sql
  22. 0 1
      sql-files/upgrades/upgrade_svn16914_log.sql
  23. 0 10
      sql-files/upgrades/upgrade_svn17014.sql
  24. 0 14
      sql-files/upgrades/upgrade_svn17080.sql
  25. 0 1
      sql-files/upgrades/upgrade_svn17080_log.sql
  26. 0 8
      sql-files/upgrades/upgrade_svn17086.sql
  27. 0 1
      sql-files/upgrades/upgrade_svn17086_log.sql
  28. 0 1
      sql-files/upgrades/upgrade_svn17136.sql
  29. 0 1
      sql-files/upgrades/upgrade_svn17176.sql
  30. 0 7
      sql-files/upgrades/upgrade_svn17178.sql
  31. 0 2
      sql-files/upgrades/upgrade_svn17183.sql
  32. 0 1
      sql-files/upgrades/upgrade_svn17194.sql
  33. 0 29
      sql-files/upgrades/upgrade_svn17242.sql
  34. 0 1
      sql-files/upgrades/upgrade_svn17256.sql
  35. 0 1
      sql-files/upgrades/upgrade_svn17303_log.sql
  36. 0 4
      sql-files/upgrades/upgrade_svn17351.sql
  37. 0 8
      sql-files/upgrades/upgrade_svn17541.sql

+ 0 - 1
sql-files/upgrades/upgrade_20131105.sql

@@ -1 +0,0 @@
-ALTER TABLE `login` ADD `bank_vault` int(11) NOT NULL DEFAULT '0';

+ 0 - 11
sql-files/upgrades/upgrade_20131111.sql

@@ -1,11 +0,0 @@
---
--- Table structure for table `bonus_script`
---
-
-CREATE TABLE IF NOT EXISTS `bonus_script` (
-  `char_id` int(11) NOT NULL,
-  `script` varchar(1024) NOT NULL,
-  `tick` int(11) NOT NULL,
-  `flag` tinyint(3) unsigned NOT NULL DEFAULT '0',
-  `type` tinyint(1) unsigned NOT NULL DEFAULT '0'
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;

+ 0 - 4
sql-files/upgrades/upgrade_20131115.sql

@@ -1,4 +0,0 @@
-ALTER TABLE `inventory` MODIFY `equip` int(11) unsigned NOT NULL default '0';
-ALTER TABLE `storage` MODIFY `equip` int(11) unsigned NOT NULL default '0';
-ALTER TABLE `cart_inventory` MODIFY `equip` int(11) unsigned NOT NULL default '0';
-ALTER TABLE `guild_storage` MODIFY `equip` int(11) unsigned NOT NULL default '0';

+ 0 - 3
sql-files/upgrades/upgrade_20131115_2.sql

@@ -1,3 +0,0 @@
-ALTER TABLE  `item_db` CHANGE  `equip_locations`  `equip_locations` MEDIUMINT( 7 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE  `item_db_re` CHANGE  `equip_locations`  `equip_locations` MEDIUMINT( 7 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE  `item_db2` CHANGE  `equip_locations`  `equip_locations` MEDIUMINT( 7 ) UNSIGNED NULL DEFAULT NULL;

+ 0 - 3
sql-files/upgrades/upgrade_20131118.sql

@@ -1,3 +0,0 @@
-ALTER TABLE  `login` ADD  `vip_time` int(11) UNSIGNED NULL DEFAULT '0';
-ALTER TABLE  `login` ADD  `old_group` tinyint(3) NOT NULL default '0';
-ALTER TABLE `char` ADD `unban_time` int(11) unsigned NOT NULL default '0';

+ 0 - 5
sql-files/upgrades/upgrade_20131227.sql

@@ -1,5 +0,0 @@
-ALTER TABLE  `bonus_script` CHANGE  `char_id`  `char_id` VARCHAR( 11 ) NOT NULL;
-ALTER TABLE  `bonus_script` CHANGE  `tick`  `tick` VARCHAR( 11 ) NOT NULL DEFAULT '0';
-ALTER TABLE  `bonus_script` CHANGE  `flag`  `flag` VARCHAR( 3 ) NOT NULL DEFAULT '0';
-ALTER TABLE  `bonus_script` CHANGE  `type`  `type` CHAR( 1 ) NOT NULL DEFAULT '0';
-ALTER TABLE  `bonus_script` ADD  `icon` VARCHAR( 3 ) NOT NULL DEFAULT  '-1';

+ 0 - 50
sql-files/upgrades/upgrade_20131231.sql

@@ -1,50 +0,0 @@
-ALTER TABLE `item_db` CHANGE `type` `type` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '0';
-ALTER TABLE `item_db` CHANGE `price_buy` `price_buy` MEDIUMINT( 8 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db` CHANGE `price_sell` `price_sell` MEDIUMINT( 8 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db` CHANGE `weight` `weight` SMALLINT( 5 ) UNSIGNED NOT NULL DEFAULT '0';
-ALTER TABLE `item_db` CHANGE `attack` `attack` SMALLINT( 5 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db` CHANGE `defence` `defence` SMALLINT( 5 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db` CHANGE `range` `range` TINYINT( 2 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db` CHANGE `slots` `slots` TINYINT( 2 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db` CHANGE `equip_jobs` `equip_jobs` INT( 10 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db` CHANGE `equip_upper` `equip_upper` TINYINT( 2 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db` CHANGE `equip_genders` `equip_genders` TINYINT( 1 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db` CHANGE `equip_locations` `equip_locations` MEDIUMINT( 7 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db` CHANGE `weapon_level` `weapon_level` TINYINT( 1 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db` CHANGE `equip_level` `equip_level` TINYINT( 3 ) NULL DEFAULT NULL;
-ALTER TABLE `item_db` CHANGE `refineable` `refineable` TINYINT( 1 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db` CHANGE `view` `view` SMALLINT( 5 ) UNSIGNED NULL DEFAULT NULL;
-
-ALTER TABLE `item_db2` CHANGE `type` `type` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '0';
-ALTER TABLE `item_db2` CHANGE `price_buy` `price_buy` MEDIUMINT( 8 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db2` CHANGE `price_sell` `price_sell` MEDIUMINT( 8 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db2` CHANGE `weight` `weight` SMALLINT( 5 ) UNSIGNED NOT NULL DEFAULT '0';
-ALTER TABLE `item_db2` CHANGE `attack` `attack` SMALLINT( 5 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db2` CHANGE `defence` `defence` SMALLINT( 5 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db2` CHANGE `range` `range` TINYINT( 2 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db2` CHANGE `slots` `slots` TINYINT( 2 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db2` CHANGE `equip_jobs` `equip_jobs` INT( 10 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db2` CHANGE `equip_upper` `equip_upper` TINYINT( 2 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db2` CHANGE `equip_genders` `equip_genders` TINYINT( 1 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db2` CHANGE `equip_locations` `equip_locations` MEDIUMINT( 7 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db2` CHANGE `weapon_level` `weapon_level` TINYINT( 1 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db2` CHANGE `equip_level` `equip_level` TINYINT( 3 ) NULL DEFAULT NULL;
-ALTER TABLE `item_db2` CHANGE `refineable` `refineable` TINYINT( 1 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db2` CHANGE `view` `view` SMALLINT( 5 ) UNSIGNED NULL DEFAULT NULL;
-
-ALTER TABLE `item_db_re` CHANGE `type` `type` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '0';
-ALTER TABLE `item_db_re` CHANGE `price_buy` `price_buy` MEDIUMINT( 8 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db_re` CHANGE `price_sell` `price_sell` MEDIUMINT( 8 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db_re` CHANGE `weight` `weight` SMALLINT( 5 ) UNSIGNED NOT NULL DEFAULT '0';
-ALTER TABLE `item_db_re` CHANGE `atk:matk` `atk:matk` VARCHAR( 10 ) NULL DEFAULT NULL;
-ALTER TABLE `item_db_re` CHANGE `defence` `defence` SMALLINT( 5 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db_re` CHANGE `range` `range` TINYINT( 2 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db_re` CHANGE `slots` `slots` TINYINT( 2 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db_re` CHANGE `equip_jobs` `equip_jobs` INT( 10 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db_re` CHANGE `equip_upper` `equip_upper` TINYINT( 2 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db_re` CHANGE `equip_genders` `equip_genders` TINYINT( 1 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db_re` CHANGE `equip_locations` `equip_locations` MEDIUMINT( 7 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db_re` CHANGE `weapon_level` `weapon_level` TINYINT( 1 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db_re` CHANGE `equip_level` `equip_level` VARCHAR( 10 ) NULL DEFAULT NULL;
-ALTER TABLE `item_db_re` CHANGE `refineable` `refineable` TINYINT( 1 ) UNSIGNED NULL DEFAULT NULL;
-ALTER TABLE `item_db_re` CHANGE `view` `view` SMALLINT( 5 ) UNSIGNED NULL DEFAULT NULL;

+ 0 - 1
sql-files/upgrades/upgrade_svn15003.sql

@@ -1 +0,0 @@
-ALTER TABLE `global_reg_value` MODIFY `type` TINYINT(1) UNSIGNED NOT NULL DEFAULT '3';

+ 0 - 3
sql-files/upgrades/upgrade_svn15420_log.sql

@@ -1,3 +0,0 @@
--- Adds 'I' and 'X' to `type` in `picklog` table
-
-ALTER TABLE `picklog` MODIFY `type` ENUM('M','P','L','T','V','S','N','C','A','R','G','E','B','O','I','X') NOT NULL DEFAULT 'P';

+ 0 - 3
sql-files/upgrades/upgrade_svn15519_log.sql

@@ -1,3 +0,0 @@
--- Adds 'D' and 'U' to `type` in `picklog` table
-
-ALTER TABLE `picklog` MODIFY `type` ENUM('M','P','L','T','V','S','N','C','A','R','G','E','B','O','I','X','D','U') NOT NULL DEFAULT 'P';

+ 0 - 4
sql-files/upgrades/upgrade_svn15531_db.sql

@@ -1,4 +0,0 @@
--- `ExpPer` column removed from `mob_db` and `mob_db2` tables
-
-ALTER TABLE `mob_db` DROP COLUMN `ExpPer`;
-ALTER TABLE `mob_db2` DROP COLUMN `ExpPer`;

+ 0 - 3
sql-files/upgrades/upgrade_svn15572.sql

@@ -1,3 +0,0 @@
--- Rename `level` column to `group_id` in `login` table
-
-ALTER TABLE `login` CHANGE COLUMN `level` `group_id` TINYINT(3) NOT NULL DEFAULT '0';

+ 0 - 3
sql-files/upgrades/upgrade_svn15818_log.sql

@@ -1,3 +0,0 @@
--- Adds 'I' to `type` in `zenylog`
-
-ALTER TABLE `zenylog` MODIFY `type` ENUM('M','T','V','S','N','A','E','B','I') NOT NULL DEFAULT 'S';

+ 0 - 24
sql-files/upgrades/upgrade_svn15885.sql

@@ -1,24 +0,0 @@
-ALTER TABLE `char` ADD COLUMN `elemental_id` int(11) unsigned NOT NULL default '0';
-
---
--- Table structure for table `elemental`
---
-
-CREATE TABLE IF NOT EXISTS `elemental` (
-  `ele_id` int(11) unsigned NOT NULL auto_increment,
-  `char_id` int(11) NOT NULL,
-  `class` mediumint(9) unsigned NOT NULL default '0',
-  `mode` int(11) unsigned NOT NULL default '1',
-  `hp` int(12) NOT NULL default '1',
-  `sp` int(12) NOT NULL default '1',
-  `max_hp` mediumint(8) unsigned NOT NULL default '0',
-  `max_sp` mediumint(6) unsigned NOT NULL default '0',
-  `str` smallint(4) unsigned NOT NULL default '0',
-  `agi` smallint(4) unsigned NOT NULL default '0',
-  `vit` smallint(4) unsigned NOT NULL default '0',
-  `int` smallint(4) unsigned NOT NULL default '0',
-  `dex` smallint(4) unsigned NOT NULL default '0',
-  `luk` smallint(4) unsigned NOT NULL default '0',
-  `life_time` int(11) NOT NULL default '0',
-  PRIMARY KEY  (`ele_id`)
-) ENGINE=MyISAM;

+ 0 - 3
sql-files/upgrades/upgrade_svn15926_log.sql

@@ -1,3 +0,0 @@
--- Adds 'D' to `type` in `zenylog`
-
-ALTER TABLE `zenylog` MODIFY `type` ENUM('M','T','V','S','N','A','E','B','I','D') NOT NULL DEFAULT 'S';

+ 0 - 1
sql-files/upgrades/upgrade_svn16490.sql

@@ -1 +0,0 @@
-ALTER TABLE `char` ADD CONSTRAINT `name_key` UNIQUE (`name`);

+ 0 - 1
sql-files/upgrades/upgrade_svn16518.sql

@@ -1 +0,0 @@
-ALTER TABLE `inventory`  ADD COLUMN `favorite` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0' AFTER `expire_time`;

+ 0 - 1
sql-files/upgrades/upgrade_svn16639.sql

@@ -1 +0,0 @@
-ALTER TABLE `item_db_re` CHANGE `equip_level` `equip_level` VARCHAR(10) DEFAULT '';

+ 0 - 2
sql-files/upgrades/upgrade_svn16645.sql

@@ -1,2 +0,0 @@
-ALTER TABLE `item_db_re` MODIFY COLUMN `atk:matk` VARCHAR(11) DEFAULT '';
-ALTER TABLE `item_db_re` MODIFY COLUMN `defence` SMALLINT(5) UNSIGNED DEFAULT NULL;

+ 0 - 1
sql-files/upgrades/upgrade_svn16663.sql

@@ -1 +0,0 @@
-ALTER TABLE  `homunculus` ADD  `prev_class` MEDIUMINT( 9 ) NOT NULL AFTER  `class`

+ 0 - 2
sql-files/upgrades/upgrade_svn16823.sql

@@ -1,2 +0,0 @@
-ALTER TABLE `item_db_re` MODIFY `defence` SMALLINT(5) DEFAULT NULL;
-ALTER TABLE `item_db` MODIFY `defence` SMALLINT(5) DEFAULT NULL;

+ 0 - 1
sql-files/upgrades/upgrade_svn16914_log.sql

@@ -1 +0,0 @@
-ALTER TABLE `zenylog` MODIFY `type` ENUM('T','V','P','M','S','N','D','C','A','E','I','B') NOT NULL DEFAULT 'S';

+ 0 - 10
sql-files/upgrades/upgrade_svn17014.sql

@@ -1,10 +0,0 @@
-ALTER TABLE `elemental` CHANGE COLUMN `str` `atk1` MEDIUMINT(6) UNSIGNED NOT NULL DEFAULT 0,
- CHANGE COLUMN `agi` `atk2` MEDIUMINT(6) UNSIGNED NOT NULL DEFAULT 0,
- CHANGE COLUMN `vit` `matk` MEDIUMINT(6) UNSIGNED NOT NULL DEFAULT 0,
- CHANGE COLUMN `int` `aspd` SMALLINT(4) UNSIGNED NOT NULL DEFAULT 0,
- CHANGE COLUMN `dex` `def` SMALLINT(4) UNSIGNED NOT NULL DEFAULT 0,
- CHANGE COLUMN `luk` `mdef` SMALLINT(4) UNSIGNED NOT NULL DEFAULT 0,
- 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`;
- 

+ 0 - 14
sql-files/upgrades/upgrade_svn17080.sql

@@ -1,14 +0,0 @@
-CREATE TABLE IF NOT EXISTS `interreg` (
-  `varname` varchar(11) NOT NULL,
-  `value` varchar(20) NOT NULL,
-  PRIMARY KEY (`varname`)
-) ENGINE=InnoDB;
-INSERT INTO `interreg` (`varname`, `value`) VALUES
-('nsiuid', '0');
-
-ALTER TABLE `auction` ADD `nsiuid` BIGINT NOT NULL DEFAULT '0';
-ALTER TABLE `cart_inventory` ADD `nsiuid` BIGINT NOT NULL DEFAULT '0';
-ALTER TABLE `guild_storage` ADD `nsiuid` BIGINT NOT NULL DEFAULT '0';
-ALTER TABLE `inventory` ADD `nsiuid` BIGINT NOT NULL DEFAULT '0';
-ALTER TABLE `mail` ADD `nsiuid` BIGINT NOT NULL DEFAULT '0';
-ALTER TABLE `storage` ADD `nsiuid` BIGINT NOT NULL DEFAULT '0';

+ 0 - 1
sql-files/upgrades/upgrade_svn17080_log.sql

@@ -1 +0,0 @@
-ALTER TABLE `picklog` ADD `nsiuid` BIGINT NOT NULL DEFAULT '0' AFTER `card3`;

+ 0 - 8
sql-files/upgrades/upgrade_svn17086.sql

@@ -1,8 +0,0 @@
-UPDATE `interreg` SET `varname` = 'unique_id' WHERE `interreg`.`varname` = 'nsiuid';
-
-ALTER TABLE `auction` CHANGE `nsiuid` `unique_id` BIGINT( 20 ) NOT NULL DEFAULT '0';
-ALTER TABLE `cart_inventory` CHANGE `nsiuid` `unique_id` BIGINT( 20 ) NOT NULL DEFAULT '0';
-ALTER TABLE `guild_storage` CHANGE `nsiuid` `unique_id` BIGINT( 20 ) NOT NULL DEFAULT '0';
-ALTER TABLE `inventory` CHANGE `nsiuid` `unique_id` BIGINT( 20 ) NOT NULL DEFAULT '0';
-ALTER TABLE `mail` CHANGE `nsiuid` `unique_id` BIGINT( 20 ) NOT NULL DEFAULT '0';
-ALTER TABLE `storage` CHANGE `nsiuid` `unique_id` BIGINT( 20 ) NOT NULL DEFAULT '0';

+ 0 - 1
sql-files/upgrades/upgrade_svn17086_log.sql

@@ -1 +0,0 @@
-ALTER TABLE `picklog` CHANGE `nsiuid` `unique_id` BIGINT( 20 ) NOT NULL DEFAULT '0';

+ 0 - 1
sql-files/upgrades/upgrade_svn17136.sql

@@ -1 +0,0 @@
-ALTER TABLE `skill` ADD COLUMN `flag` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0;

+ 0 - 1
sql-files/upgrades/upgrade_svn17176.sql

@@ -1 +0,0 @@
-ALTER TABLE `login` ADD `character_slots` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

+ 0 - 7
sql-files/upgrades/upgrade_svn17178.sql

@@ -1,7 +0,0 @@
--- This script resets all quests that were done by your users before this revision
-
-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';

+ 0 - 2
sql-files/upgrades/upgrade_svn17183.sql

@@ -1,2 +0,0 @@
-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';

+ 0 - 1
sql-files/upgrades/upgrade_svn17194.sql

@@ -1 +0,0 @@
-ALTER TABLE `char` ADD COLUMN `moves` int(11) unsigned NOT NULL DEFAULT '0';

+ 0 - 29
sql-files/upgrades/upgrade_svn17242.sql

@@ -1,29 +0,0 @@
-DROP TABLE IF EXISTS `cashlog`;
-
-CREATE TABLE `cashlog` (
-  `id` int(11) NOT NULL AUTO_INCREMENT,
-  `time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
-  `char_id` int(11) NOT NULL DEFAULT '0',
-  `type` enum('T','V','P','M','S','N','D','C','A','E','I','B','$') NOT NULL DEFAULT 'S',
-  `cash_type` enum('O','K','C') NOT NULL DEFAULT 'O',
-  `amount` int(11) NOT NULL DEFAULT '0',
-  `map` varchar(11) NOT NULL DEFAULT '',
-  PRIMARY KEY (`id`),
-  INDEX `type` (`type`)
-) ENGINE=MyISAM AUTO_INCREMENT=1;
-
-DROP TABLE IF EXISTS `item_cash_db`;
-CREATE TABLE `item_cash_db` (
-  `tab` smallint(6) NOT NULL,
-  `item_id` smallint(5) unsigned NOT NULL,
-  `price` mediumint(10) unsigned NOT NULL DEFAULT '0',
-  PRIMARY KEY (`tab`,`item_id`)
-) ENGINE=MyISAM;
-
-DROP TABLE IF EXISTS `item_cash_db2`;
-CREATE TABLE `item_cash_db2` (
-  `tab` smallint(6) NOT NULL,
-  `item_id` smallint(5) unsigned NOT NULL,
-  `price` mediumint(10) unsigned NOT NULL DEFAULT '0',
-  PRIMARY KEY (`tab`,`item_id`)
-) ENGINE=MyISAM;

+ 0 - 1
sql-files/upgrades/upgrade_svn17256.sql

@@ -1 +0,0 @@
-UPDATE `skill` SET `flag` = 0 WHERE `flag` = 4 AND `id` != 2535 AND `id` != 681;

+ 0 - 1
sql-files/upgrades/upgrade_svn17303_log.sql

@@ -1 +0,0 @@
-ALTER TABLE `picklog` CHANGE `type` `type` enum('M','P','L','T','V','S','N','C','A','R','G','E','B','O','I','X','D','U','$') NOT NULL default 'P';

+ 0 - 4
sql-files/upgrades/upgrade_svn17351.sql

@@ -1,4 +0,0 @@
-ALTER TABLE `inventory` ADD COLUMN `bound` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0' AFTER `favorite`;
-ALTER TABLE `cart_inventory` ADD COLUMN `bound` TINYINT(3) UNSIGNED NOT NULL default '0' AFTER `expire_time`;
-ALTER TABLE `storage` ADD COLUMN `bound` TINYINT(3) UNSIGNED NOT NULL default '0' AFTER `expire_time`;
-ALTER TABLE `guild_storage` ADD COLUMN `bound` TINYINT(3) UNSIGNED NOT NULL default '0' AFTER `expire_time`;

+ 0 - 8
sql-files/upgrades/upgrade_svn17541.sql

@@ -1,8 +0,0 @@
-CREATE TABLE IF NOT EXISTS `skillcooldown` (
-  `account_id` int(11) unsigned NOT NULL,
-  `char_id` int(11) unsigned NOT NULL,
-  `skill` smallint(11) unsigned NOT NULL DEFAULT '0',
-  `tick` int(11) NOT NULL,
-  KEY `account_id` (`account_id`),
-  KEY `char_id` (`char_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=latin1;