I have an existing DB2 (10.5.0) project I am migrating to Liquibase (3.4.1), and I want to export my existing schema.
However it is skipping the GRANTs. How do I get those?
Also when I create new tables, indices etc, how can I add GRANT to a role within my changeLogFile.xml?
Liquibase does not currently support GRANTs as they are a database-specific concept. You would need to write the GRANT statements using the <sql>
or <sqlFile>
change types.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With