Add todo for JSON datatype

This commit is contained in:
Kristoffer Dalby 2022-02-27 18:48:25 +01:00
parent ecc26432fd
commit 1caa6f5d69

View File

@ -53,6 +53,8 @@ type Machine struct {
LastSuccessfulUpdate *time.Time
Expiry *time.Time
// TODO(kradalby): Figure out a way to use tailcfg datatypes
// here and have gorm serialise them.
HostInfo datatypes.JSON
Endpoints datatypes.JSON
EnabledRoutes datatypes.JSON