Remove orgId

This commit is contained in:
Owen 2025-08-14 10:38:22 -07:00
parent fcc86b07ba
commit d5a11edd0c
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
3 changed files with 2 additions and 7 deletions

View file

@ -134,9 +134,6 @@ export const exitNodes = sqliteTable("exitNodes", {
listenPort: integer("listenPort").notNull(),
reachableAt: text("reachableAt"), // this is the internal address of the gerbil http server for command control
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