26 lines
490 B
Plaintext
26 lines
490 B
Plaintext
TABLE config OF Config (
|
|
ConfigID int64 PK,
|
|
HubAddress string,
|
|
VPNNetwork []byte,
|
|
Password []byte NoUpdate
|
|
);
|
|
|
|
TABLE sessions OF Session NoUpdate (
|
|
SessionID string PK,
|
|
CSRF string,
|
|
SignedIn bool,
|
|
CreatedAt int64,
|
|
LastSeenAt int64
|
|
);
|
|
|
|
TABLE peers OF Peer (
|
|
PeerIP byte PK,
|
|
APIKey string NoUpdate,
|
|
Name string,
|
|
IP []byte,
|
|
Port uint16,
|
|
Mediator bool,
|
|
EncPubKey []byte NoUpdate,
|
|
SignPubKey []byte NoUpdate
|
|
);
|