You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When defining a BigDecimal field in a JPA entity with the @column annotation, specifying precision and scale along with a columnDefinition results in Flyway-generated schemas that omit the precision and scale attributes.
Steps to Reproduce:
Define a JPA entity with a BigDecimal field annotated as follows:
However, this approach has significant drawbacks:
- It reduces code readability, making it harder for developers to understand the constraints quickly.
- It decreases consistency with other project codebases where precision and scale are specified separately for clarity and maintainability.
The text was updated successfully, but these errors were encountered:
Flyway Version: 10.19.0
Client: Command-line, Java API, Maven plugin
Database: postgres(any version)
Problem Statement:
Steps to Reproduce:
Expected Behavior:
Actual Behavior:
Additional Context:
However, this approach has significant drawbacks:
- It reduces code readability, making it harder for developers to understand the constraints quickly.
- It decreases consistency with other project codebases where precision and scale are specified separately for clarity and maintainability.
The text was updated successfully, but these errors were encountered: