feat: admin hints with auto-expiry shown in album overview
This commit is contained in:
1 parent
2a5a2f3815
commit
abe072b2d1
15 files changed
+2946
-1
No files matched your search
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE "announcements" (
|
||||
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
|
||||
"message" text NOT NULL,
|
||||
"event_date" date NOT NULL,
|
||||
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
|
||||
"created_by_user_id" uuid
|
||||
);
|
||||
--> statement-breakpoint
|
||||
ALTER TABLE "announcements" ADD CONSTRAINT "announcements_created_by_user_id_user_id_fk" FOREIGN KEY ("created_by_user_id") REFERENCES "public"."user"("id") ON DELETE restrict ON UPDATE no action;
|
||||
Reference in new issue
Block a user