mirror of
https://github.com/penpot/penpot.git
synced 2025-05-24 17:36:11 +02:00
🎉 Add migration for fix legacy storage object backend names
This commit is contained in:
parent
9275f5e5ce
commit
dece149c9e
2 changed files with 13 additions and 0 deletions
|
@ -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';
|
Loading…
Add table
Add a link
Reference in a new issue