Alex Rivera | Logout

How to generate liquibase changelog with insert statement?

Asked 2010-07-20T14:26:21.130
11

I'm getting my hands on the Liquibase tool and I'd like to mimic working with an existing database. From the command line, I managed to generate the changelog. I was wondering whether it's possible to generate insert statements for data insides the tables?

Edit
Report

1 Answer

18

Yes. Use the --diffTypes="data" parameter output CSV files that are referenced from the generated changelog and will populate your database.

answered 2010-07-20T22:19:51.023

Your Answer