dashboard: restrict access to organization users
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- The primary key for the `project_access` table will be changed. If it partially fails, the table could be left without primary key constraint.
|
||||
- The `id` column on the `project_access` table would be dropped and recreated. This will lead to data loss if there is data in the column.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "project_access" DROP CONSTRAINT "project_access_pkey",
|
||||
DROP COLUMN "id",
|
||||
ADD COLUMN "id" UUID NOT NULL DEFAULT gen_random_uuid(),
|
||||
ADD CONSTRAINT "project_access_pkey" PRIMARY KEY ("id");
|
||||
Reference in New Issue
Block a user