Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
wyxxxcat committed Dec 4, 2024
1 parent e16dbe5 commit b34ce67
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,11 @@ public String toSql() {
StringBuilder sb = new StringBuilder();
sb.append("DEFAULT ");
if (value != null) {
sb.append('"').append(value).append('"');
if (defaultValueExprDef != null) {
sb.append(value);
} else {
sb.append('"').append(value).append('"');
}
} else {
sb.append("NULL");
}
Expand Down

0 comments on commit b34ce67

Please sign in to comment.