Backend: Code clean-up

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-03-30 13:34:53 +02:00
parent 024c0340c2
commit 2cd3a3030c

View file

@ -39,9 +39,9 @@ type Account struct {
SyncSidecar bool
SyncStart sql.NullTime
SyncedAt sql.NullTime `deepcopier:"skip"`
CreatedAt time.Time `deepcopier:"skip"`
UpdatedAt time.Time `deepcopier:"skip"`
DeletedAt *time.Time `deepcopier:"skip" sql:"index"`
CreatedAt time.Time `deepcopier:"skip"`
UpdatedAt time.Time `deepcopier:"skip"`
DeletedAt *time.Time `deepcopier:"skip" sql:"index"`
}
// CreateAccount creates a new account entity in the database.