mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-30 21:00:00 +00:00
Source client info into schema
This commit is contained in:
parent
0d4edcd1c7
commit
fe40ea58c1
3 changed files with 73 additions and 3 deletions
|
|
@ -309,6 +309,12 @@ export const connectionAuditLog = sqliteTable(
|
|||
siteId: integer("siteId").references(() => sites.siteId, {
|
||||
onDelete: "cascade"
|
||||
}),
|
||||
clientId: integer("clientId").references(() => clients.clientId, {
|
||||
onDelete: "cascade"
|
||||
}),
|
||||
userId: text("userId").references(() => users.userId, {
|
||||
onDelete: "cascade"
|
||||
}),
|
||||
sourceAddr: text("sourceAddr").notNull(),
|
||||
destAddr: text("destAddr").notNull(),
|
||||
protocol: text("protocol").notNull(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue