mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-30 21:00:00 +00:00
🚧 wip: approval tables in DB
This commit is contained in:
parent
009b86c33b
commit
e983e1166a
13 changed files with 220 additions and 40 deletions
|
|
@ -503,7 +503,10 @@ export const roles = sqliteTable("roles", {
|
|||
.notNull(),
|
||||
isAdmin: integer("isAdmin", { mode: "boolean" }),
|
||||
name: text("name").notNull(),
|
||||
description: text("description")
|
||||
description: text("description"),
|
||||
requireDeviceApproval: integer("requireDeviceApproval", {
|
||||
mode: "boolean"
|
||||
}).default(false)
|
||||
});
|
||||
|
||||
export const roleActions = sqliteTable("roleActions", {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue