Commit 7fbaf828 authored by astaxie's avatar astaxie

fix #1424

parent 73168d2f
......@@ -271,6 +271,7 @@ func getColumnDefault(fi *fieldInfo) string {
TypeBigIntegerField, TypePositiveBitField, TypePositiveSmallIntegerField,
TypePositiveIntegerField, TypePositiveBigIntegerField, TypeFloatField,
TypeDecimalField:
t = " DEFAULT %s "
d = "0"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment