b90ff252d1
Public archive with sidebar navigation, project pages, month archive, search and entry pages with image blocks. Admin area for brands, projects, post types, users, api clients, media and the entry editor with drag and drop images, preview per audience, scheduling and publish checks. Read and write API with bearer tokens, audience scoping, idempotent creation, OpenAPI document and editorial guide. Magic link login with configurable allowed domains, whole app behind the session gate. 456 tests including design rule checks.
5 lines
508 B
SQL
5 lines
508 B
SQL
ALTER TABLE "media" ADD COLUMN "path" text NOT NULL;--> statement-breakpoint
|
|
ALTER TABLE "media" ADD COLUMN "variant_error" text;--> statement-breakpoint
|
|
ALTER TABLE "media" ADD COLUMN "uploaded_by" text;--> statement-breakpoint
|
|
ALTER TABLE "media" ADD CONSTRAINT "media_uploaded_by_user_id_fk" FOREIGN KEY ("uploaded_by") REFERENCES "public"."user"("id") ON DELETE set null ON UPDATE no action;--> statement-breakpoint
|
|
CREATE INDEX "media_project_created" ON "media" USING btree ("project_id","created_at"); |