mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-09 09:48:20 +00:00
Fix migration 0 for cd server
setting every component to 1901 instead of just component 39 Add migration to fix it for existing users and set the values back to what they were
This commit is contained in:
parent
4cf9865431
commit
d4adb0e6e5
@ -1,6 +1,6 @@
|
||||
BEGIN TRANSACTION;
|
||||
|
||||
UPDATE ComponentsRegistry SET component_id = 1901 WHERE id = 12916;
|
||||
UPDATE ComponentsRegistry SET component_id = 1901 WHERE id = 12916 AND component_type = 39;
|
||||
INSERT INTO ActivityRewards (objectTemplate, ActivityRewardIndex, activityRating, LootMatrixIndex, CurrencyIndex, ChallengeRating, description) VALUES (1901, 166, -1, 598, 1, 4, 'NT Foot Race');
|
||||
|
||||
COMMIT;
|
||||
|
3
migrations/cdserver/4_nt_footrace_parrot.sql
Normal file
3
migrations/cdserver/4_nt_footrace_parrot.sql
Normal file
@ -0,0 +1,3 @@
|
||||
UPDATE ComponentsRegistry SET component_id = 12702 WHERE id = 12916 AND component_type = 2;
|
||||
UPDATE ComponentsRegistry SET component_id = 6280 WHERE id = 12916 AND component_type = 3;
|
||||
UPDATE ComponentsRegistry SET component_id = 1791 WHERE id = 12916 AND component_type = 7;
|
Loading…
Reference in New Issue
Block a user