Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to set DOUBLE PRECISION datatype #2337

Closed
sync-by-unito bot opened this issue Jan 6, 2022 · 0 comments · Fixed by #2592
Closed

Impossible to set DOUBLE PRECISION datatype #2337

sync-by-unito bot opened this issue Jan 6, 2022 · 0 comments · Fixed by #2592

Comments

@sync-by-unito
Copy link

sync-by-unito bot commented Jan 6, 2022

When trying create a table with DOUBLE PRECISION column, Liquibase treats precision as additional information instead of datatype name.
Used next changeset:

<createTable tableName="double_precision_test">
      <column name="precision_column" type="double precision(5,2)"/>
</createTable>

Executing update-sql produces next code :
CREATE TABLE lbcat.double_precision_test (precision_column DOUBLE(5, 2) precision NULL);

Tested this issue against MySQL8 and MariaDB

┆Issue is synchronized with this Jira Bug by Unito

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants