feat: board visibility

This commit is contained in:
Henry
2025-01-17 17:41:35 +00:00
parent 3d34b6bfcf
commit cec69565df
5 changed files with 1600 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
CREATE TYPE "public"."board_visibility" AS ENUM('private', 'public');--> statement-breakpoint
ALTER TABLE "board" ADD COLUMN "visibility" "board_visibility" DEFAULT 'private' NOT NULL;--> statement-breakpoint
CREATE INDEX IF NOT EXISTS "board_visibility_idx" ON "board" USING btree ("visibility");