Skip to Main Content

SQLcl: MCP Server & SQL Prompt

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

liquibase changelog overwrite from sqlcl

vmuthadiNov 8 2021

Hi,
We are trying to generate table code using lb genobject command and the below command by default generates xml file with name <tablename>_table.xml
lb genobject -type table -name countries
Now When we are add a column and rerun the above command, we are gettign changelog name with number added as <tablename>_table1.xml which doesn;t seem to be fine for us. I could not find a way to overwrite the file with name.
As we are generating the code with the updated changes, I wanted the file to be overwritten so that the file is checked in github and we have tracking of changes.
Is this possible to acheive. Please advise

Comments

vmuthadi

Hi
Can any one help me on above

User_8T8Z1

CURRENTLY it does not work... always create a new file..

My current work arround is a bash script that runs the lb genobject command and that deletes and renames the file... allowing the githistory to track

1 - 2

Post Details

Added on Nov 8 2021
2 comments
227 views