Skip to content

Commit

Permalink
Merge e4f115c into 30e3319
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-sa authored Jan 24, 2024
2 parents 30e3319 + e4f115c commit 87c62ae
Show file tree
Hide file tree
Showing 3 changed files with 398 additions and 338 deletions.
2 changes: 1 addition & 1 deletion packages/sql/src/platform/default-platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ export abstract class DefaultPlatform {
column.defaultValue = dbOptions.default;
} else if (dbOptions.defaultExpr) {
column.defaultExpression = dbOptions.defaultExpr;
} else if (!dbOptions.noDefault && !property.hasDefaultFunctionExpression()) {
} else if (!dbOptions.noDefault && !property.hasDynamicExpression()) {
column.defaultValue = property.getDefaultValue();
}
}
Expand Down
Loading

0 comments on commit 87c62ae

Please sign in to comment.