Files
vppn/hub/api/db/tables.defs

24 lines
501 B
Plaintext

TABLE config OF Config (
ConfigID int64 PK,
Password []byte
);
TABLE networks OF Network (
NetworkID int64 PK,
LocalDomain string NoUpdate,
Network []byte NoUpdate
);
TABLE peers OF Peer (
NetworkID int64 PK,
PeerIP byte PK,
APIKey string NoUpdate,
Name string NoUpdate,
Addr4 []byte NoUpdate,
Addr6 []byte NoUpdate,
Port uint16 NoUpdate,
Relay bool NoUpdate,
WGPubKey []byte NoUpdate,
SignPubKey []byte NoUpdate
);