Complete client form

This commit is contained in:
2026-09-17 08:43:00 +01:00
parent 90ee3debf0
commit cda6cff34f
19 changed files with 661 additions and 4 deletions
+14
View File
@@ -187,6 +187,20 @@ const schema: BUN_SQLITE_DatabaseSchemaType = {
dataType: "TEXT",
},
],
uniqueConstraints: [
{
constraintName: "Unique client IPs per host",
alias: "unique_client_ip_per_host",
constraintTableFields: [
{
value: "host_id",
},
{
value: "wg_ip_address",
},
],
},
],
},
{
tableName: "hosts",