Finish conversion of olm reg to multi site

This commit is contained in:
Owen 2025-03-26 21:23:26 -04:00
parent 87012c47ea
commit 926ec831e2
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
2 changed files with 68 additions and 58 deletions

View file

@ -143,6 +143,9 @@ export const clients = sqliteTable("clients", {
onDelete: "cascade"
})
.notNull(),
exitNodeId: integer("exitNode").references(() => exitNodes.exitNodeId, {
onDelete: "set null"
}),
name: text("name").notNull(),
pubKey: text("pubKey"),
subnet: text("subnet").notNull(),