From e0a78f520884c242919cb196737a21dba63b7865 Mon Sep 17 00:00:00 2001 From: Hendrik Date: Sat, 3 Jan 2026 14:30:41 +0100 Subject: [PATCH] Update tenant-migrations/0008_neat_swarm.sql Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- tenant-migrations/0008_neat_swarm.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tenant-migrations/0008_neat_swarm.sql b/tenant-migrations/0008_neat_swarm.sql index c71111a..75aa20e 100644 --- a/tenant-migrations/0008_neat_swarm.sql +++ b/tenant-migrations/0008_neat_swarm.sql @@ -8,7 +8,8 @@ CREATE TABLE "notification" ( "staff_id" uuid NOT NULL, "title" json NOT NULL, "description" json NOT NULL, - "is_read" boolean DEFAULT false NOT NULL + "is_read" boolean DEFAULT false NOT NULL, + "created_at" timestamp with time zone DEFAULT now() NOT NULL ); --> statement-breakpoint ALTER TABLE "channel_staff" ADD CONSTRAINT "channel_staff_channel_id_channel_id_fk" FOREIGN KEY ("channel_id") REFERENCES "public"."channel"("id") ON DELETE no action ON UPDATE no action; \ No newline at end of file