fix migration file

master
Aevann 2024-08-02 11:42:55 +03:00
parent 96f4102eaa
commit 31b62d753e
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
alter table chat_memberships add column muted bool not null default false;
alter table chat_memberships alter column muted drop default;
update chat_memberships set muted=true, notification=false where notification=null;
update chat_memberships set muted=true, notification=false where notification is null;
alter table chat_memberships alter column notification set not null;