mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-30 04:39:43 +00:00
Add basic provisioning room v1 and update keys
This commit is contained in:
parent
77cef554be
commit
fcf92d4e2c
19 changed files with 219 additions and 71 deletions
|
|
@ -375,7 +375,10 @@ export const siteProvisioningKeys = sqliteTable("siteProvisioningKeys", {
|
|||
lastUsed: text("lastUsed"),
|
||||
maxBatchSize: integer("maxBatchSize"), // null = no limit
|
||||
numUsed: integer("numUsed").notNull().default(0),
|
||||
validUntil: text("validUntil")
|
||||
validUntil: text("validUntil"),
|
||||
approveNewSites: integer("approveNewSites", { mode: "boolean" })
|
||||
.notNull()
|
||||
.default(true)
|
||||
});
|
||||
|
||||
export const siteProvisioningKeyOrg = sqliteTable(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue