TDB 1102.24091 - 2024/09/03

This commit is contained in:
TDB Release
2024-09-03 00:52:11 +00:00
parent 256b5eb097
commit c722ff3a68
227 changed files with 656 additions and 433 deletions

View File

@@ -1,5 +0,0 @@
ALTER TABLE `groups` ADD `pingRestriction` tinyint AFTER `masterLooterGuid`;
UPDATE `groups` SET `pingRestriction`=0;
ALTER TABLE `groups` MODIFY `pingRestriction` tinyint NOT NULL;

View File

@@ -1,3 +0,0 @@
DELETE FROM `character_trait_entry` WHERE `Rank`=0;
ALTER TABLE `character_trait_entry` DROP `grantedRanks`;

View File

@@ -1,23 +0,0 @@
DELETE
ctc,
cte,
ca
FROM
character_trait_config AS ctc
LEFT JOIN (
SELECT
ctc2.guid AS guid,
MIN(ctc2.traitConfigId) AS traitConfigId
FROM
character_trait_config ctc2
WHERE
ctc2.type = 3
GROUP BY
ctc2.guid,
ctc2.traitSystemId
) AS minctc ON ctc.guid = minctc.guid AND ctc.traitConfigId = minctc.traitConfigId
LEFT JOIN character_trait_entry AS cte ON ctc.guid = cte.guid AND ctc.traitConfigId = cte.traitConfigId
LEFT JOIN character_action AS ca ON ctc.guid = ca.guid AND ctc.traitConfigId = ca.traitConfigId
WHERE
ctc.type = 3 AND
minctc.traitConfigId IS NULL;

View File

@@ -1,3 +0,0 @@
ALTER TABLE `item_loot_items` ADD `item_type` tinyint NOT NULL DEFAULT 0 COMMENT 'item or currency' AFTER `container_id`;
ALTER TABLE `item_loot_items` DROP PRIMARY KEY;
ALTER TABLE `item_loot_items` ADD PRIMARY KEY (`container_id`,`item_type`,`item_id`);

View File

@@ -1,3 +1,3 @@
-- TDB 1027.24051 characters
-- TDB 1102.24091 characters
UPDATE `updates` SET `state`='ARCHIVED',`speed`=0;
REPLACE INTO `updates_include` (`path`, `state`) VALUES ('$/sql/old/10.x/characters', 'ARCHIVED');
REPLACE INTO `updates_include` (`path`, `state`) VALUES ('$/sql/old/11.x/characters', 'ARCHIVED');