Skip to content

Commit

Permalink
fix postgresql default type generation (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferluci authored Nov 7, 2024
1 parent d1dde04 commit c1bffc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion element/column.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func (c Column) definition() string {
}

if sql.IsPostgres() && opt.Tp == ast.ColumnOptionDefaultValue {
strSql += " " + b.String()
strSql += " " + opt.StrValue
continue
}

Expand Down

0 comments on commit c1bffc9

Please sign in to comment.