Is there a way to convert SQL queries to liquibase changelog format?

18.4k Views Asked by At

I would like to know if it is possible to convert an existing SQL script into XML format of changelogs of a liquibase?

1

There are 1 best solutions below

0
On

You could use a detour via a database. Apply your script to a database of choice (that is supported by liquibase). Then use generateChangeLog to generate the changelogs in xml from the database.