diff --git a/common/gateway-storage/migrations/20250605120000_trim_wireguard_peer_data.sql b/common/gateway-storage/migrations/20250605120000_trim_wireguard_peer_data.sql index cd627850bf..e8d0c92e7c 100644 --- a/common/gateway-storage/migrations/20250605120000_trim_wireguard_peer_data.sql +++ b/common/gateway-storage/migrations/20250605120000_trim_wireguard_peer_data.sql @@ -8,7 +8,7 @@ DELETE FROM wireguard_peer WHERE client_id IS NULL; CREATE TABLE wireguard_peer_new ( public_key TEXT NOT NULL PRIMARY KEY UNIQUE, - allowed_ips BLOB NOT NULL, + allowed_ips BLOB NOT NULL UNIQUE, client_id INTEGER REFERENCES clients(id) NOT NULL );