We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d42235c commit 5f19042Copy full SHA for 5f19042
jooq-dialect/src/main/java/tech/ydb/jooq/codegen/YdbTableDefinition.java
@@ -74,7 +74,7 @@ protected List<ColumnDefinition> getElements0() {
74
kind = type.getKind();
75
}
76
77
- int decimalDigits = kind == Type.Kind.DECIMAL ? ((DecimalType) type).getScale() : 0;
+ int scale = kind == Type.Kind.DECIMAL ? ((DecimalType) type).getScale() : 0;
78
79
String typeName = type.toString();
80
Class<? extends Binding<?, ?>> binding = getBinding(typeName);
@@ -86,7 +86,7 @@ protected List<ColumnDefinition> getElements0() {
86
typeName,
87
YdbTypes.getSqlPrecision(type),
88
89
- decimalDigits,
+ scale,
90
isNullable,
91
null,
92
DSL.name(typeName),
0 commit comments