Add region

This commit is contained in:
Owen
2025-09-06 16:54:06 -07:00
parent b0bd9279fc
commit 6761428a96
2 changed files with 4 additions and 2 deletions

View File

@@ -128,7 +128,8 @@ export const exitNodes = pgTable("exitNodes", {
maxConnections: integer("maxConnections"),
online: boolean("online").notNull().default(false),
lastPing: integer("lastPing"),
type: text("type").default("gerbil") // gerbil, remoteExitNode
type: text("type").default("gerbil"), // gerbil, remoteExitNode
region: varchar("region")
});
export const siteResources = pgTable("siteResources", { // this is for the clients

View File

@@ -140,7 +140,8 @@ export const exitNodes = sqliteTable("exitNodes", {
maxConnections: integer("maxConnections"),
online: integer("online", { mode: "boolean" }).notNull().default(false),
lastPing: integer("lastPing"),
type: text("type").default("gerbil") // gerbil, remoteExitNode
type: text("type").default("gerbil"), // gerbil, remoteExitNode
region: text("region")
});
export const siteResources = sqliteTable("siteResources", {