refactor(DB): Move old archive files to old dir (#18164)

* refactor(DB): Move old archive files to old dir

* fix auth and char
This commit is contained in:
Kitzunu
2024-01-20 14:19:38 +01:00
committed by GitHub
parent 47a1982c0d
commit ea93531bd5
4126 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
--
UPDATE `updates` SET `state`='ARCHIVED';

View File

@@ -0,0 +1,6 @@
-- DB update 2022_08_21_00 -> 2022_10_13_00
--
DELETE FROM `updates` WHERE `name`='Homebind_Orientation.sql';
ALTER TABLE `character_homebind`
ADD COLUMN `posO` FLOAT NOT NULL DEFAULT '0' AFTER `posZ`;

View File

@@ -0,0 +1,8 @@
-- DB update 2022_10_13_00 -> 2022_10_20_00
-- Insert world states (for conditions)
DELETE FROM `worldstates` WHERE `entry` IN (197,198,199,200);
INSERT INTO `worldstates` (`entry`, `value`, `comment`) values
(197,0,'Fishing Extravaganza - STV_FISHING_PREV_WIN_TIME'),
(198,0,'Fishing Extravaganza - STV_FISHING_HAS_WINNER'),
(199,0,'Fishing Extravaganza - STV_FISHING_ANNOUNCE_EVENT_BEGIN'),
(200,0,'Fishing Extravaganza - STV_FISHING_ANNOUNCE_POOLS_DESPAN');