super admin added

This commit is contained in:
dimitar committed 2025-11-19 04:00:03 +01:00
1 parent b1bb5d8166
commit a87b94219d
9 files changed
+189 -9

No files matched your search

+1 -1
View File
@@ -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"),