feat: board visibility
This commit is contained in:
3
packages/db/migrations/0005_modern_gideon.sql
Normal file
3
packages/db/migrations/0005_modern_gideon.sql
Normal 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");
|
||||
1579
packages/db/migrations/meta/0005_snapshot.json
Normal file
1579
packages/db/migrations/meta/0005_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -36,6 +36,13 @@
|
||||
"when": 1736087559461,
|
||||
"tag": "0004_eminent_living_mummy",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 5,
|
||||
"version": "7",
|
||||
"when": 1737130330536,
|
||||
"tag": "0005_modern_gideon",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user