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
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:
<column defaultValueComputed=""LIC2_OWNER"."ISEQ$$_98884".nextval" name="ADT_ID" remarks="Unique identity number of this audit trail." type="NUMBER(19, 0)">
<constraints nullable="false"/>
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.
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: