mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Added migration to fix characters unable to login due to DashMelee ability change
This commit is contained in:
parent
72dd2850e3
commit
7f6c892cf0
@ -0,0 +1 @@
|
||||
-- Nothing to undo since up.sql only fixes corrupt JSON in loadouts
|
@ -0,0 +1,7 @@
|
||||
-- This is a migration to fix loadouts that contain old versions of items with the DashMelee skill before the
|
||||
-- energy_cost field was added to it in https://gitlab.com/veloren/veloren/-/merge_requests/1140
|
||||
-- This missing field in the JSON prevents accounts with affected characters from being able log in due to JSON
|
||||
-- deserialization failure.
|
||||
UPDATE loadout
|
||||
SET items = REPLACE(items, '{"DashMelee":{"buildup_duration"','{"DashMelee":{"energy_cost":700,"buildup_duration"')
|
||||
WHERE items LIKE '%DashMelee%';
|
Loading…
Reference in New Issue
Block a user