mirror of
https://github.com/astaxie/beego.git
synced 2025-07-02 20:10:19 +00:00
orm support auto create db
This commit is contained in:
@ -805,7 +805,7 @@ setValue:
|
||||
_, err = str.Int32()
|
||||
case TypeBigIntegerField:
|
||||
_, err = str.Int64()
|
||||
case TypePostiveBitField:
|
||||
case TypePositiveBitField:
|
||||
_, err = str.Uint8()
|
||||
case TypePositiveSmallIntegerField:
|
||||
_, err = str.Uint16()
|
||||
@ -1112,3 +1112,7 @@ func (d *dbBase) TimeFromDB(t *time.Time, tz *time.Location) {
|
||||
func (d *dbBase) TimeToDB(t *time.Time, tz *time.Location) {
|
||||
*t = t.In(tz)
|
||||
}
|
||||
|
||||
func (d *dbBase) DbTypes() map[string]string {
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user