fix: nullable type

This commit is contained in:
Lorenzo Migliorero
2024-07-25 08:59:10 +02:00
parent fa5b75e6fb
commit 115c8641e7
3 changed files with 7 additions and 6 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).notNull(),
path: text("path").default("/").notNull(),
port: integer("port").default(80),
path: text("path").default("/"),
uniqueConfigKey: serial("uniqueConfigKey"),
createdAt: text("createdAt")
.notNull()