mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-24 06:28:34 +01:00
fix: foreign key issue with thumbnails (#824)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
-- +goose Up
|
||||
alter table public.attachments
|
||||
drop constraint attachments_attachments_thumbnail;
|
||||
|
||||
alter table public.attachments
|
||||
add constraint attachments_attachments_thumbnail
|
||||
foreign key (attachment_thumbnail) references public.attachments
|
||||
on delete set null;
|
||||
Reference in New Issue
Block a user