mirror of
https://github.com/astaxie/beego.git
synced 2025-06-28 16:20:18 +00:00
fix #1424
This commit is contained in:
@ -271,6 +271,7 @@ func getColumnDefault(fi *fieldInfo) string {
|
||||
TypeBigIntegerField, TypePositiveBitField, TypePositiveSmallIntegerField,
|
||||
TypePositiveIntegerField, TypePositiveBigIntegerField, TypeFloatField,
|
||||
TypeDecimalField:
|
||||
t = " DEFAULT %s "
|
||||
d = "0"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user