diff options
| author | MohamedBassem <me@mbassem.com> | 2024-03-01 23:17:27 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-03-01 23:19:03 +0000 |
| commit | 7ddcfb630d3dec3d9fecbfd6a498ca7c572809ec (patch) | |
| tree | c0339e9181b35d0819bc0bfd1219ccdb262e54d2 /packages/db/schema.ts | |
| parent | a5434730ede1272f195d6a4b13207b840a5ac2cf (diff) | |
| download | karakeep-7ddcfb630d3dec3d9fecbfd6a498ca7c572809ec.tar.zst | |
feature: Add an admin page showing server stats and actions
Diffstat (limited to 'packages/db/schema.ts')
| -rw-r--r-- | packages/db/schema.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/db/schema.ts b/packages/db/schema.ts index 3c464d6c..d1e3fa0d 100644 --- a/packages/db/schema.ts +++ b/packages/db/schema.ts @@ -25,6 +25,7 @@ export const users = sqliteTable("user", { emailVerified: integer("emailVerified", { mode: "timestamp_ms" }), image: text("image"), password: text("password"), + role: text("role", { enum: ["admin", "user"] }).default("user"), }); export const accounts = sqliteTable( |
