feat: add api to handle license api keys

This commit is contained in:
Mauricio Siu
2024-08-25 20:10:20 -06:00
parent 14e8e14b7d
commit e0a9eb0366
19 changed files with 3500 additions and 8 deletions

View File

@@ -28,6 +28,7 @@ export const admins = pgTable("admin", {
sshPrivateKey: text("sshPrivateKey"),
enableDockerCleanup: boolean("enableDockerCleanup").notNull().default(false),
enableLogRotation: boolean("enableLogRotation").notNull().default(false),
licenseKey: text("licenseKey"),
authId: text("authId")
.notNull()
.references(() => auth.id, { onDelete: "cascade" }),