mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
feat: admin dashboard
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE `user` ADD COLUMN `is_admin` BOOLEAN NOT NULL DEFAULT false;
|
||||
@@ -17,6 +17,7 @@ model User {
|
||||
email String @unique
|
||||
name String?
|
||||
image String?
|
||||
is_admin Boolean @default(false)
|
||||
|
||||
categories Category[]
|
||||
links Link[]
|
||||
|
||||
Reference in New Issue
Block a user