fix typo in migration
This commit is contained in:
parent
34df19c551
commit
e73af85e5c
@ -2,7 +2,7 @@
|
||||
-- don't drop message rows when system/member are deleted
|
||||
|
||||
alter table messages alter column member drop not null;
|
||||
alter table messages drop contstraint messages_member_fkey;
|
||||
alter table messages drop constraint messages_member_fkey;
|
||||
alter table messages
|
||||
add constraint messages_member_fkey
|
||||
foreign key (member) references members(id) on delete set null;
|
||||
|
Loading…
Reference in New Issue
Block a user