feat: creating the admin ui for metrics

This commit is contained in:
Catalin Pit
2023-09-08 09:16:31 +03:00
parent ff957a2f82
commit 171a5ba4ee
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"[];