mirror of
https://github.com/penpot/penpot.git
synced 2025-08-01 14:38:40 +02:00
♻️ Refactor migrations.
This commit is contained in:
parent
1b598e2f6d
commit
dda6a96407
25 changed files with 75 additions and 70 deletions
|
@ -0,0 +1,8 @@
|
|||
alter table media_object drop column modified_at;
|
||||
alter index image_pkey rename to media_object_pkey;
|
||||
alter index image__file_id__idx rename to media_bject__file_id__idx;
|
||||
alter table media_object rename constraint image_file_id_fkey to media_object_file_id_fkey;
|
||||
alter trigger image__on_delete__tgr on media_object rename to media_object__on_delete__tgr;
|
||||
drop trigger image__modified_at__tgr on media_object;
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue