Andrea Fazzi 6 лет назад
Родитель
Сommit
b60e331b72
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      orm/credential.go

+ 2 - 2
orm/credential.go

@@ -19,8 +19,8 @@ type Credential struct {
 	PlainPassword   string
 	Email           string `csv:"email"`
 	AltEmail        string
-	DateFrom        time.Time
-	DateTo          time.Time
+	DateFrom        *time.Time
+	DateTo          *time.Time
 	TelephoneNumber string
 
 	Regenerate bool `schema:"Regenerate" sql:"default: false"`