Skip to content

Commit

Permalink
Update Reset.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RecoX authored Jul 5, 2024
1 parent b34fb02 commit 3005594
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions Reset.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,17 @@ Utilizar Empty_Database.db y migrarla con comando `argentums20-assets\tools\Migr

- ao20_gameserver_clone (MySql)
```
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS = @@FOREIGN_KEY_CHECKS;
SET FOREIGN_KEY_CHECKS = 0;
TRUNCATE TABLE `bank_item`;
TRUNCATE TABLE `char_transfer_record`;
TRUNCATE TABLE `guilds`;
TRUNCATE TABLE `guilds_members`;
TRUNCATE TABLE `guild_member_history`;
TRUNCATE TABLE `guild_members`;
TRUNCATE TABLE `guild_request`;
TRUNCATE TABLE `guild_member_history`;
TRUNCATE TABLE `guild_request_history`;
-- DELETE statement instead of TRUNCATE for `guilds`
DELETE FROM `guilds`;
TRUNCATE TABLE `inventory_item`;
TRUNCATE TABLE `patreon_shop_audit`;
TRUNCATE TABLE `pet`;
Expand All @@ -40,8 +43,10 @@ TRUNCATE TABLE `skillpoint`;
TRUNCATE TABLE `spell`;
TRUNCATE TABLE `statistics_users_online`;
TRUNCATE TABLE `tokens`;
TRUNCATE TABLE `user`;
SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;
-- DELETE statement instead of TRUNCATE for `user`
DELETE FROM `user`;
SET FOREIGN_KEY_CHECKS = @OLD_FOREIGN_KEY_CHECKS;
```

- ao20 sqlite
Expand Down

0 comments on commit 3005594

Please sign in to comment.