super admin added
This commit is contained in:
1 parent
b1bb5d8166
commit
a87b94219d
9 files changed
+189
-9
No files matched your search
@@ -6,7 +6,7 @@ export const users = sqliteTable("users", {
|
||||
firstName: text("first_name").notNull(),
|
||||
lastName: text("last_name").notNull(),
|
||||
password: text("password"), // Optional - Clerk handles authentication
|
||||
role: text("role", { enum: ["admin", "trainer", "client"] })
|
||||
role: text("role", { enum: ["superAdmin", "admin", "trainer", "client"] })
|
||||
.notNull()
|
||||
.default("client"),
|
||||
phone: text("phone"),
|
||||
|
||||
Reference in new issue
Block a user