I am trying to generatechangelog all my sequences but i am not possible to do it.
I have created a postgres database via SQL files and i am trying to export that DB to XML.
I have created 1 sequence in SQL via
“create sequence test if not exists”
and there are other 9 sequences which has been auto created by the creation of table by having Serial datatype for ID’s.
So when i am trying to export all those 10 sequences I m able to have only the one which has been created by the “create sequence” command and nothing else.
Is there any way to get all those 10 sequences to XML?
Hi @michey Thanks you for joining the community. Liquibase should be able to retrieve the sequences. I will test to see what is different in your environment. Do you have the scripts that were used to create your tables? Of course, abstracting any proprietary or customer data.
@michey I am curious if this also reproduces if you create the table and id column without autoIncrement=“true” property set inline but introduce a new, standalone changeset, after the createTable. This changeset is of type: addAutoIncrement | Liquibase Docs
Hi @jitender I did not get to see it because I didn’t get the scripts that we used to create the table with the 10 sequences to see what is special or different about that table.
Do you have the scripts used to create the table minus any proprietary info or a sample DDL that creates the table in order to pull out the info with a generateChangeLog to recreate the issue?