summaryrefslogtreecommitdiff
path: root/sql-files/tools
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-05 11:34:32 +0300
committerAndrei Karas <akaras@inbox.ru>2019-06-26 21:14:20 +0300
commit610130172552889d6dfb4c5ebc964bb90fdc73d2 (patch)
tree79b344a1753308a461c7a27613f92fc7f67a08ee /sql-files/tools
parentba2840f8462390889ad5f3031b5bcc3068e3aba5 (diff)
downloadhercules-610130172552889d6dfb4c5ebc964bb90fdc73d2.tar.gz
hercules-610130172552889d6dfb4c5ebc964bb90fdc73d2.tar.bz2
hercules-610130172552889d6dfb4c5ebc964bb90fdc73d2.tar.xz
hercules-610130172552889d6dfb4c5ebc964bb90fdc73d2.zip
Remove conf dir.
Diffstat (limited to 'sql-files/tools')
-rw-r--r--sql-files/tools/convert_engine_innodb.sql75
-rw-r--r--sql-files/tools/convert_engine_myisam.sql75
-rw-r--r--sql-files/tools/convert_passwords.sql22
3 files changed, 0 insertions, 172 deletions
diff --git a/sql-files/tools/convert_engine_innodb.sql b/sql-files/tools/convert_engine_innodb.sql
deleted file mode 100644
index 266538bd8..000000000
--- a/sql-files/tools/convert_engine_innodb.sql
+++ /dev/null
@@ -1,75 +0,0 @@
--- This file is part of Hercules.
--- http://herc.ws - http://github.com/HerculesWS/Hercules
---
--- Copyright (C) 2012-2015 Hercules Dev Team
--- Copyright (C) Athena Dev Teams
---
--- Hercules is free software: you can redistribute it and/or modify
--- it under the terms of the GNU General Public License as published by
--- the Free Software Foundation, either version 3 of the License, or
--- (at your option) any later version.
---
--- This program is distributed in the hope that it will be useful,
--- but WITHOUT ANY WARRANTY; without even the implied warranty of
--- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--- GNU General Public License for more details.
---
--- You should have received a copy of the GNU General Public License
--- along with this program. If not, see <http://www.gnu.org/licenses/>.
-
---
--- Hercules Database Converter
--- MyISAM Engine -> InnoDB Engine
---
-
-ALTER TABLE `account_data` ENGINE = InnoDB;
-ALTER TABLE `acc_reg_num_db` ENGINE = InnoDB;
-ALTER TABLE `acc_reg_str_db` ENGINE = InnoDB;
-ALTER TABLE `auction` ENGINE = InnoDB;
-ALTER TABLE `autotrade_data` ENGINE = InnoDB;
-ALTER TABLE `autotrade_merchants` ENGINE = InnoDB;
-ALTER TABLE `cart_inventory` ENGINE = InnoDB;
-ALTER TABLE `char` ENGINE = InnoDB;
-ALTER TABLE `char_reg_num_db` ENGINE = InnoDB;
-ALTER TABLE `char_reg_str_db` ENGINE = InnoDB;
-ALTER TABLE `charlog` ENGINE = InnoDB;
-ALTER TABLE `elemental` ENGINE = InnoDB;
-ALTER TABLE `friends` ENGINE = InnoDB;
-ALTER TABLE `hotkey` ENGINE = InnoDB;
-ALTER TABLE `global_acc_reg_num_db` ENGINE = InnoDB;
-ALTER TABLE `global_acc_reg_str_db` ENGINE = InnoDB;
-ALTER TABLE `guild` ENGINE = InnoDB;
-ALTER TABLE `guild_alliance` ENGINE = InnoDB;
-ALTER TABLE `guild_castle` ENGINE = InnoDB;
-ALTER TABLE `guild_expulsion` ENGINE = InnoDB;
-ALTER TABLE `guild_member` ENGINE = InnoDB;
-ALTER TABLE `guild_position` ENGINE = InnoDB;
-ALTER TABLE `guild_skill` ENGINE = InnoDB;
-ALTER TABLE `guild_storage` ENGINE = InnoDB;
-ALTER TABLE `homunculus` ENGINE = InnoDB;
-ALTER TABLE `interlog` ENGINE = InnoDB;
-ALTER TABLE `inventory` ENGINE = InnoDB;
-ALTER TABLE `ipbanlist` ENGINE = InnoDB;
--- ALTER TABLE `item_db` ENGINE = InnoDB;
--- ALTER TABLE `item_db2` ENGINE = InnoDB;
-ALTER TABLE `login` ENGINE = InnoDB;
-ALTER TABLE `mapreg` ENGINE = InnoDB;
-ALTER TABLE `sc_data` ENGINE = InnoDB;
-ALTER TABLE `mail` ENGINE = InnoDB;
-ALTER TABLE `memo` ENGINE = InnoDB;
-ALTER TABLE `mercenary` ENGINE = InnoDB;
-ALTER TABLE `mercenary_owner` ENGINE = InnoDB;
--- ALTER TABLE `mob_db` ENGINE = InnoDB;
--- ALTER TABLE `mob_db2` ENGINE = InnoDB;
-ALTER TABLE `npc_market_data` ENGINE = InnoDB;
-ALTER TABLE `party` ENGINE = InnoDB;
-ALTER TABLE `pet` ENGINE = InnoDB;
-ALTER TABLE `quest` ENGINE = InnoDB;
-ALTER TABLE `ragsrvinfo` ENGINE = InnoDB;
-ALTER TABLE `skill` ENGINE = InnoDB;
-ALTER TABLE `skill_homunculus` ENGINE = InnoDB;
-ALTER TABLE `sql_updates` ENGINE = InnoDB;
-ALTER TABLE `sstatus` ENGINE = InnoDB;
-ALTER TABLE `storage` ENGINE = InnoDB;
-ALTER TABLE `interreg` ENGINE = InnoDB;
-
diff --git a/sql-files/tools/convert_engine_myisam.sql b/sql-files/tools/convert_engine_myisam.sql
deleted file mode 100644
index 4b527e71f..000000000
--- a/sql-files/tools/convert_engine_myisam.sql
+++ /dev/null
@@ -1,75 +0,0 @@
--- This file is part of Hercules.
--- http://herc.ws - http://github.com/HerculesWS/Hercules
---
--- Copyright (C) 2012-2015 Hercules Dev Team
--- Copyright (C) Athena Dev Teams
---
--- Hercules is free software: you can redistribute it and/or modify
--- it under the terms of the GNU General Public License as published by
--- the Free Software Foundation, either version 3 of the License, or
--- (at your option) any later version.
---
--- This program is distributed in the hope that it will be useful,
--- but WITHOUT ANY WARRANTY; without even the implied warranty of
--- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--- GNU General Public License for more details.
---
--- You should have received a copy of the GNU General Public License
--- along with this program. If not, see <http://www.gnu.org/licenses/>.
-
---
--- Hercules Database Converter
--- InnoDB Engine -> MyISAM Engine
---
-
-ALTER TABLE `account_data` ENGINE = MyISAM;
-ALTER TABLE `acc_reg_num_db` ENGINE = MyISAM;
-ALTER TABLE `acc_reg_str_db` ENGINE = MyISAM;
-ALTER TABLE `auction` ENGINE = MyISAM;
-ALTER TABLE `autotrade_data` ENGINE = MyISAM;
-ALTER TABLE `autotrade_merchants` ENGINE = MyISAM;
-ALTER TABLE `cart_inventory` ENGINE = MyISAM;
-ALTER TABLE `char` ENGINE = MyISAM;
-ALTER TABLE `char_reg_num_db` ENGINE = MyISAM;
-ALTER TABLE `char_reg_str_db` ENGINE = MyISAM;
-ALTER TABLE `charlog` ENGINE = MyISAM;
-ALTER TABLE `elemental` ENGINE = MyISAM;
-ALTER TABLE `friends` ENGINE = MyISAM;
-ALTER TABLE `hotkey` ENGINE = MyISAM;
-ALTER TABLE `global_acc_reg_num_db` ENGINE = MyISAM;
-ALTER TABLE `global_acc_reg_str_db` ENGINE = MyISAM;
-ALTER TABLE `guild` ENGINE = MyISAM;
-ALTER TABLE `guild_alliance` ENGINE = MyISAM;
-ALTER TABLE `guild_castle` ENGINE = MyISAM;
-ALTER TABLE `guild_expulsion` ENGINE = MyISAM;
-ALTER TABLE `guild_member` ENGINE = MyISAM;
-ALTER TABLE `guild_position` ENGINE = MyISAM;
-ALTER TABLE `guild_skill` ENGINE = MyISAM;
-ALTER TABLE `guild_storage` ENGINE = MyISAM;
-ALTER TABLE `homunculus` ENGINE = MyISAM;
-ALTER TABLE `interlog` ENGINE = MyISAM;
-ALTER TABLE `inventory` ENGINE = MyISAM;
-ALTER TABLE `ipbanlist` ENGINE = MyISAM;
--- ALTER TABLE `item_db` ENGINE = MyISAM;
--- ALTER TABLE `item_db2` ENGINE = MyISAM;
-ALTER TABLE `login` ENGINE = MyISAM;
-ALTER TABLE `mapreg` ENGINE = MyISAM;
-ALTER TABLE `sc_data` ENGINE = MyISAM;
-ALTER TABLE `mail` ENGINE = MyISAM;
-ALTER TABLE `memo` ENGINE = MyISAM;
-ALTER TABLE `mercenary` ENGINE = MyISAM;
-ALTER TABLE `mercenary_owner` ENGINE = MyISAM;
--- ALTER TABLE `mob_db` ENGINE = MyISAM;
--- ALTER TABLE `mob_db2` ENGINE = MyISAM;
-ALTER TABLE `npc_market_data` ENGINE = MyISAM;
-ALTER TABLE `party` ENGINE = MyISAM;
-ALTER TABLE `pet` ENGINE = MyISAM;
-ALTER TABLE `quest` ENGINE = MyISAM;
-ALTER TABLE `ragsrvinfo` ENGINE = MyISAM;
-ALTER TABLE `skill` ENGINE = MyISAM;
-ALTER TABLE `skill_homunculus` ENGINE = MyISAM;
-ALTER TABLE `sql_updates` ENGINE = MyISAM;
-ALTER TABLE `sstatus` ENGINE = MyISAM;
-ALTER TABLE `storage` ENGINE = MyISAM;
-ALTER TABLE `interreg` ENGINE = MyISAM;
-
diff --git a/sql-files/tools/convert_passwords.sql b/sql-files/tools/convert_passwords.sql
deleted file mode 100644
index 8240e4698..000000000
--- a/sql-files/tools/convert_passwords.sql
+++ /dev/null
@@ -1,22 +0,0 @@
--- This file is part of Hercules.
--- http://herc.ws - http://github.com/HerculesWS/Hercules
---
--- Copyright (C) 2012-2015 Hercules Dev Team
--- Copyright (C) Athena Dev Teams
---
--- Hercules is free software: you can redistribute it and/or modify
--- it under the terms of the GNU General Public License as published by
--- the Free Software Foundation, either version 3 of the License, or
--- (at your option) any later version.
---
--- This program is distributed in the hope that it will be useful,
--- but WITHOUT ANY WARRANTY; without even the implied warranty of
--- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--- GNU General Public License for more details.
---
--- You should have received a copy of the GNU General Public License
--- along with this program. If not, see <http://www.gnu.org/licenses/>.
-
--- Convert passwords to MD5 Hash
-
-UPDATE `login` SET `user_pass`=MD5(`user_pass`);