Skip to content

Commit

Permalink
Run check on actual attribute value
Browse files Browse the repository at this point in the history
Co-authored-by: Marcelo Shima <[email protected]>
  • Loading branch information
OmarHawk and mshima authored Apr 15, 2024
1 parent 16b57af commit c73e79f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/liquibase/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ export default class LiquibaseGenerator extends BaseEntityChangesGenerator {
* @returns
*/
createDefaultValueLiquibaseAttribute(field, leadingWhitespace = false) {
if (!field.defaultValueComputed && !field.fieldDefaultValueDefined) {
if (field.liquibaseDefaultValueAttributeValue === undefined) {
return '';
}

Expand Down

0 comments on commit c73e79f

Please sign in to comment.