Files
vppn/hub/api/db/tables.defs
2026-06-04 16:00:21 +02:00

25 lines
459 B
Plaintext

TABLE config OF Config (
ConfigID int64 PK,
Password []byte
);
TABLE networks OF Network (
NetworkID int64 PK,
Name string NoUpdate,
Network []byte NoUpdate
);
TABLE peers OF Peer (
NetworkID int64 PK,
PeerIP byte PK,
Version int64,
APIKey string NoUpdate,
Name string,
PublicIP1 []byte,
Port1 uint16,
PublicIP2 []byte,
Port2 uint16,
Relay bool,
WGPubKey []byte NoUpdate
);