Remove traces of unix timestamp
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
kolaente 2020-02-07 22:36:15 +01:00
parent 256d4b2cc6
commit cbeff2928b
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 4 additions and 4 deletions

View File

@ -38,9 +38,9 @@ type Label struct {
// The user who created this label
CreatedBy *user.User `xorm:"-" json:"created_by"`
// A unix timestamp when this label was created. You cannot change this value.
// A timestamp when this label was created. You cannot change this value.
Created timeutil.TimeStamp `xorm:"created not null" json:"created"`
// A unix timestamp when this label was last updated. You cannot change this value.
// A timestamp when this label was last updated. You cannot change this value.
Updated timeutil.TimeStamp `xorm:"updated not null" json:"updated"`
web.CRUDable `xorm:"-" json:"-"`

View File

@ -32,9 +32,9 @@ type TeamNamespace struct {
// The right this team has. 0 = Read only, 1 = Read & Write, 2 = Admin. See the docs for more details.
Right Right `xorm:"int(11) INDEX not null default 0" json:"right" valid:"length(0|2)" maximum:"2" default:"0"`
// A unix timestamp when this relation was created. You cannot change this value.
// A timestamp when this relation was created. You cannot change this value.
Created timeutil.TimeStamp `xorm:"created not null" json:"created"`
// A unix timestamp when this relation was last updated. You cannot change this value.
// A timestamp when this relation was last updated. You cannot change this value.
Updated timeutil.TimeStamp `xorm:"updated not null" json:"updated"`
web.CRUDable `xorm:"-" json:"-"`