fix(postgres): fixes db migration issue with_credentials column for postgres, fixes #3505

This commit is contained in:
Torkel Ödegaard
2015-12-14 10:19:53 +01:00
parent 10f66fa78f
commit c7e3ed096f
3 changed files with 18 additions and 2 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ func (col *Column) StringNoPk(d Dialect) string {
}
if col.Default != "" {
sql += "DEFAULT " + col.Default + " "
sql += "DEFAULT " + d.Default(col) + " "
}
return sql