mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-29 15:14:56 +02:00
add deleteClient endpoint
This commit is contained in:
parent
255e29d9c8
commit
11920ca997
6 changed files with 161 additions and 45 deletions
|
@ -121,9 +121,11 @@ export const clients = sqliteTable("clients", {
|
|||
siteId: integer("siteId").references(() => sites.siteId, {
|
||||
onDelete: "cascade"
|
||||
}),
|
||||
orgId: text("orgId").references(() => orgs.orgId, {
|
||||
onDelete: "cascade"
|
||||
}),
|
||||
orgId: text("orgId")
|
||||
.references(() => orgs.orgId, {
|
||||
onDelete: "cascade"
|
||||
})
|
||||
.notNull(),
|
||||
name: text("name").notNull(),
|
||||
pubKey: text("pubKey"),
|
||||
subnet: text("subnet").notNull(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue