add createClient for testing

This commit is contained in:
miloschwartz
2025-02-21 14:39:10 -05:00
parent 346f2db5fb
commit 35ccdd3014
6 changed files with 279 additions and 1 deletions

View File

@@ -121,6 +121,10 @@ export const clients = sqliteTable("clients", {
siteId: integer("siteId").references(() => sites.siteId, {
onDelete: "cascade"
}),
orgId: text("orgId").references(() => orgs.orgId, {
onDelete: "cascade"
}),
name: text("name").notNull(),
pubKey: text("pubKey"),
subnet: text("subnet").notNull(),
megabytesIn: integer("bytesIn"),