mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Working on role in workspace.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- Added the required column `role` to the `users_organisations` table without a default value. This is not possible if the table is not empty.
|
||||
|
||||
*/
|
||||
-- CreateEnum
|
||||
CREATE TYPE "OrganizationRole" AS ENUM ('member', 'admin');
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "users_organisations" ADD COLUMN "role" "OrganizationRole" NOT NULL;
|
||||
Reference in New Issue
Block a user