remove to prepare for subtree

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2025-11-26 22:56:11 +05:00
parent 1ab6638012
commit 6ea92dd409
1351 changed files with 0 additions and 228527 deletions
@@ -1,25 +0,0 @@
ALTER TABLE notification
ADD "isViewed" bool,
ADD archived bool,
ADD "user" text;
ALTER TABLE notification
DROP COLUMN "attachedTo";
UPDATE notification
SET "isViewed" = (data->>'isViewed')::boolean;
UPDATE notification
SET "archived" = (data->>'archived')::boolean;
UPDATE notification
SET "user" = (data->>'user');
ALTER TABLE notification
ALTER COLUMN "isViewed" SET NOT NULL;
ALTER TABLE notification
ALTER COLUMN archived SET NOT NULL;
ALTER TABLE notification
ALTER COLUMN "user" SET NOT NULL;