Add user management
This commit is contained in:
8
prisma/migrations/20260101122816_auth_3/migration.sql
Normal file
8
prisma/migrations/20260101122816_auth_3/migration.sql
Normal file
@ -0,0 +1,8 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "session" ADD COLUMN "impersonatedBy" TEXT;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "user" ADD COLUMN "banExpires" TIMESTAMP(3),
|
||||
ADD COLUMN "banReason" TEXT,
|
||||
ADD COLUMN "banned" BOOLEAN DEFAULT false,
|
||||
ADD COLUMN "role" TEXT NOT NULL DEFAULT 'user';
|
||||
Reference in New Issue
Block a user