From 31b62d753e3913e0dab58a94e68973d9feec51ac Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 2 Aug 2024 11:42:55 +0300 Subject: [PATCH] fix migration file --- .../20240802-make-green-dot-appear-even-when-chat-muted.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/20240802-make-green-dot-appear-even-when-chat-muted.sql b/migrations/20240802-make-green-dot-appear-even-when-chat-muted.sql index 0f80d02f6..a79f743d4 100644 --- a/migrations/20240802-make-green-dot-appear-even-when-chat-muted.sql +++ b/migrations/20240802-make-green-dot-appear-even-when-chat-muted.sql @@ -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;