feat: condition certificate

This commit is contained in:
Lorenzo Migliorero
2024-07-24 18:47:52 +02:00
parent d3397cfbd0
commit 13c686c228
4 changed files with 98 additions and 312 deletions

View File

@@ -13,8 +13,8 @@ export const domains = pgTable("domain", {
.$defaultFn(() => nanoid()),
host: text("host").notNull(),
https: boolean("https").notNull().default(false),
port: integer("port").default(80),
path: text("path").default("/"),
port: integer("port").default(80).notNull(),
path: text("path").default("/").notNull(),
uniqueConfigKey: serial("uniqueConfigKey"),
createdAt: text("createdAt")
.notNull()