send if we need to connect to the gerbil or not

This commit is contained in:
Owen
2026-07-31 10:54:18 -04:00
parent 2e8576bdb0
commit 117df40e68
4 changed files with 33 additions and 13 deletions
+3
View File
@@ -428,6 +428,9 @@ export const siteResources = pgTable(
onDelete: "restrict"
}
),
requiresExitNodeConnection: boolean("requiresExitNodeConnection")
.notNull()
.default(false),
niceId: varchar("niceId").notNull(),
name: varchar("name").notNull(),
ssl: boolean("ssl").notNull().default(false),
+5
View File
@@ -425,6 +425,11 @@ export const siteResources = sqliteTable("siteResources", {
() => networks.networkId,
{ onDelete: "restrict" }
),
requiresExitNodeConnection: integer("requiresExitNodeConnection", {
mode: "boolean"
})
.notNull()
.default(false),
niceId: text("niceId").notNull(),
name: text("name").notNull(),
ssl: integer("ssl", { mode: "boolean" }).notNull().default(false),