🎉 Add migration for fix legacy storage object backend names

This commit is contained in:
Andrey Antukh 2022-07-27 12:49:55 +02:00
parent 9275f5e5ce
commit dece149c9e
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,10 @@
-- Renames the old, already deprecated backend name with new one on
-- all storage object rows.
UPDATE storage_object
SET backend = 'assets-fs'
WHERE backend = 'fs';
UPDATE storage_object
SET backend = 'assets-s3'
WHERE backend = 's3';