mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 07:43:16 +10:00
6 lines
159 B
SQL
6 lines
159 B
SQL
-- CreateEnum
|
|
CREATE TYPE "Role" AS ENUM ('ADMIN', 'USER');
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "User" ADD COLUMN "roles" "Role"[] DEFAULT ARRAY['USER']::"Role"[];
|