Skip to content

Commit

Permalink
chore!: Change Oracle and H2 Oracle uintegerType and uintegerAutoincT…
Browse files Browse the repository at this point in the history
…ype from NUMBER(13) to NUMBER(10) to not take up more space than needed as UInt has a maximum of ten digits
  • Loading branch information
joc-a committed Oct 8, 2024
1 parent 2cfb936 commit 7e9916a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* In Oracle and H2 Oracle, the `ubyte()` column now maps to data type `NUMBER(3)` instead of `NUMBER(4)`.
* In Oracle and H2 Oracle, the `ushort()` column now maps to data type `NUMBER(5)` instead of `NUMBER(6)`.
* In Oracle and H2 Oracle, the `integer()` column now maps to data type `NUMBER(10)` and `INTEGER` respectively, instead of `NUMBER(12)`.
* In Oracle and H2 Oracle, the `uinteger()` column now maps to data type `NUMBER(10)` instead of `NUMBER(13)`.

## 0.55.0
* The `DeleteStatement` property `table` is now deprecated in favor of `targetsSet`, which holds a `ColumnSet` that may be a `Table` or `Join`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ internal object OracleDataTypeProvider : DataTypeProvider() {
"NUMBER(10)"
}
override fun integerAutoincType(): String = integerType()
override fun uintegerType(): String = "NUMBER(13)"
override fun uintegerAutoincType(): String = "NUMBER(13)"
override fun uintegerType(): String = "NUMBER(10)"
override fun uintegerAutoincType(): String = "NUMBER(10)"
override fun longType(): String = "NUMBER(19)"
override fun longAutoincType(): String = "NUMBER(19)"
override fun ulongType(): String = "NUMBER(20)"
Expand Down

0 comments on commit 7e9916a

Please sign in to comment.