mirror of
https://github.com/fosrl/pangolin.git
synced 2025-12-11 02:18:54 +00:00
Add region
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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", {
|
||||
|
||||
Reference in New Issue
Block a user