feat: admin hints with auto-expiry shown in album overview

This commit is contained in:
Leon Tonhäuser committed 2026-09-11 17:30:15 +02:00
1 parent 2a5a2f3815
commit abe072b2d1
15 files changed
+2946 -1

No files matched your search

+9
View File
@@ -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;
File diff suppressed because it is too large. Load diff
+8 -1
View File
@@ -8,6 +8,13 @@
"when": 1786299825190,
"tag": "0000_baseline",
"breakpoints": true
},
{
"idx": 1,
"version": "7",
"when": 1789139950413,
"tag": "0001_add_announcements",
"breakpoints": true
}
]
}
}