merged with fixes
This commit is contained in:
parent
a9e758b712
commit
2f1818d656
176 changed files with 9000 additions and 907 deletions
|
|
@ -0,0 +1,8 @@
|
|||
DO $$ BEGIN
|
||||
IF EXISTS (SELECT 1 FROM private_messages WHERE reply_external <> '{}'::jsonb)
|
||||
OR EXISTS (SELECT 1 FROM message_boxes WHERE reply_external <> '{}'::jsonb) THEN
|
||||
RAISE EXCEPTION 'cannot discard durable external reply snapshots';
|
||||
END IF;
|
||||
END $$;
|
||||
ALTER TABLE message_boxes DROP COLUMN reply_external;
|
||||
ALTER TABLE private_messages DROP COLUMN reply_external;
|
||||
Loading…
Add table
Add a link
Reference in a new issue