diff --git a/orm/models_test.go b/orm/models_test.go index 2b42fd52..bd0f0ebb 100644 --- a/orm/models_test.go +++ b/orm/models_test.go @@ -205,7 +205,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)"`