diff options
Diffstat (limited to 'models/login_source.go')
-rw-r--r-- | models/login_source.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/models/login_source.go b/models/login_source.go index 58e0e88b3e..3fe5e172e3 100644 --- a/models/login_source.go +++ b/models/login_source.go @@ -120,13 +120,13 @@ type LoginSource struct { ID int64 `xorm:"pk autoincr"` Type LoginType Name string `xorm:"UNIQUE"` - IsActived bool `xorm:"NOT NULL DEFAULT false"` + IsActived bool `xorm:"INDEX NOT NULL DEFAULT false"` Cfg core.Conversion `xorm:"TEXT"` Created time.Time `xorm:"-"` - CreatedUnix int64 + CreatedUnix int64 `xorm:"INDEX"` Updated time.Time `xorm:"-"` - UpdatedUnix int64 + UpdatedUnix int64 `xorm:"INDEX"` } // BeforeInsert is invoked from XORM before inserting an object of this type. |