diff --git a/orm/models_test.go b/orm/models_test.go index 1ad8c601..8f1ebe77 100644 --- a/orm/models_test.go +++ b/orm/models_test.go @@ -230,7 +230,7 @@ type User struct { Password string `orm:"size(100)"` Status int16 `orm:"column(Status)"` IsStaff bool - IsActive bool `orm:"default(1)"` + IsActive bool `orm:"default(true)"` Created time.Time `orm:"auto_now_add;type(date)"` Updated time.Time `orm:"auto_now"` Profile *Profile `orm:"null;rel(one);on_delete(set_null)"`