-
Notifications
You must be signed in to change notification settings - Fork 39
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
Oracle identity column #18
Comments
I think this is a problem on the core - but cant figure out how to add this as an issue on liquibase-core |
i looked into the code in Columnsnapshotgenerator.java - we have this
|
in JdbcDatabaseSnapShot.java line 357, we can replace
I have not tested but this seems to be the cause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I create a table with an ID column
"ADT_ID" NUMBER(19,0) GENERATED BY DEFAULT AS IDENTITY (START with 1 increment by 1),
I then run:
liquibase generateChangeLog
The Change log contains this:
Ideally we should just have metadata - stating identity column and the defaultValueComputed should not be present.
I have looked at the code which generates the SQL from the changeLog and it seems to imply that it should handle the creation of SQL based on the Identity metadata but i have not seen how it extracts this information from the database.
┆Issue is synchronized with this Jira Bug by Unito
The text was updated successfully, but these errors were encountered: