remove default values

This commit is contained in:
İsmail
2024-11-07 16:14:34 +03:00
parent daab053b6a
commit 90910a958b
5 changed files with 6 additions and 6 deletions

View File

@@ -87,7 +87,7 @@ type SetupKey struct {
// UsedTimes indicates how many times the key was used
UsedTimes int
// LastUsed last time the key was used for peer registration
LastUsed time.Time `gorm:"default:null"`
LastUsed time.Time
// AutoGroups is a list of Group IDs that are auto assigned to a Peer when it uses this key to register
AutoGroups []string `gorm:"serializer:json"`
// UsageLimit indicates the number of times this key can be used to enroll a machine.