How to generate changelog of data for selected tables only?

Hi All,

Is there any way Liquibase can generate changelog of data for selected tables only? I need to create a baseline of data that are only for reference.

Thanks :slight_smile:

Does not appear it is possible. You may have to generate the entire change log and remove data for all other tables except the one you want which am assuming should not be a big deal if just a one-time activity?

Just came across this thread from 4 years ago where Nathan said it was not possible at the time but the feature was in the 2.1 planning list. Not sure if it has been implemented yet

http://forum.liquibase.org/topic/restricting-difftype-data-to-specific-tables

Since 3.3.2 (January 2015) there is a way. Use includeObjects or excludeObjects for that.

Read the release-notes or documentation.