fix(models): fix person model

This commit is contained in:
Masahiko AMANO 2025-01-16 16:37:26 +03:00
parent 9425c6af85
commit 889d01f9d0

View File

@ -8,7 +8,7 @@ import (
type Person struct {
ID string `json:"id"`
Name string `json:"name"`
Birthdate time.Time `json:"birthdate"`
Birthdate sql.NullTime `json:"birthdate"`
Deathdate sql.NullTime `json:"deathdate"`
Info sql.NullString `json:"info"`
}