1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 22:40:55 +00:00
This commit is contained in:
astaxie 2016-01-04 22:10:18 +08:00
parent 73168d2f7d
commit 7fbaf82897

View File

@ -271,6 +271,7 @@ func getColumnDefault(fi *fieldInfo) string {
TypeBigIntegerField, TypePositiveBitField, TypePositiveSmallIntegerField, TypeBigIntegerField, TypePositiveBitField, TypePositiveSmallIntegerField,
TypePositiveIntegerField, TypePositiveBigIntegerField, TypeFloatField, TypePositiveIntegerField, TypePositiveBigIntegerField, TypeFloatField,
TypeDecimalField: TypeDecimalField:
t = " DEFAULT %s "
d = "0" d = "0"
} }