feat: creating the admin ui for metrics

This commit is contained in:
Catalin Pit
2023-09-08 09:16:31 +03:00
committed by Mythie
parent fdb542765a
commit 61df56c21e
4 changed files with 28 additions and 2 deletions

View File

@ -0,0 +1,5 @@
-- CreateEnum
CREATE TYPE "Role" AS ENUM ('ADMIN', 'USER');
-- AlterTable
ALTER TABLE "User" ADD COLUMN "roles" "Role"[] DEFAULT ARRAY['USER']::"Role"[];