mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-31 06:59:33 +02:00
Add cols to exit node
This commit is contained in:
parent
34d705a54e
commit
b573d63648
2 changed files with 15 additions and 3 deletions
|
@ -133,7 +133,13 @@ export const exitNodes = sqliteTable("exitNodes", {
|
|||
publicKey: text("publicKey").notNull(),
|
||||
listenPort: integer("listenPort").notNull(),
|
||||
reachableAt: text("reachableAt"), // this is the internal address of the gerbil http server for command control
|
||||
maxConnections: integer("maxConnections")
|
||||
maxConnections: integer("maxConnections"),
|
||||
orgId: text("orgId").references(() => orgs.orgId, {
|
||||
onDelete: "cascade"
|
||||
}),
|
||||
online: integer("online", { mode: "boolean" }).notNull().default(false),
|
||||
lastPing: integer("lastPing"),
|
||||
type: text("type").default("gerbil") // gerbil, remoteExitNode
|
||||
});
|
||||
|
||||
export const users = sqliteTable("user", {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue