'How to generate liquibase changelog with insert statement?
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?
Solution 1:[1]
Yes. Use the --diffTypes="data" parameter output CSV files that are referenced from the generated changelog and will populate your database.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Nathan Voxland |
