Update auth, users, settings page, and prisma schema

This commit is contained in:
2026-02-24 00:24:15 -05:00
parent 27e6e6a4a0
commit 6e31681438
9 changed files with 324 additions and 43 deletions

View File

@@ -18,10 +18,16 @@ datasource db {
provider = "postgresql"
}
enum UserRole {
ADMIN
USER
}
model User {
id Int @id @default(autoincrement())
username String @unique
password String
role UserRole @default(USER)
patients Patient[]
appointments Appointment[]
staff Staff[]