Merge branch '151-bare-minimum-notification-system' of github.com:open-reception/appointment-booking-software into 151-bare-minimum-notification-system

This commit is contained in:
Hendrik Belitz
2026-01-03 14:31:25 +01:00
+2 -1
View File
@@ -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;