Feature/add permissions to access model (#2833)
* Add permissions to Access model * Update changelogpull/2918/head^2
parent
04fc2cd3e1
commit
73c0843d51
@ -0,0 +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