mirror of https://github.com/ghostfolio/ghostfolio
1 changed files with 3 additions and 0 deletions
@ -1,2 +1,5 @@ |
|||
-- CreateEnum |
|||
CREATE TYPE "AccessPermission" AS ENUM ('READ', 'READ_RESTRICTED'); |
|||
|
|||
-- AlterTable |
|||
ALTER TABLE "Access" ADD COLUMN "permissions" "AccessPermission"[] DEFAULT ARRAY['READ_RESTRICTED']::"AccessPermission"[]; |
|||
|
Loading…
Reference in new issue