Currently, we have couple stored procedures in Liquibase that should only be called when the schema is empty. How should we set this up correctly?
Option 1: commented out the calls whenever we need to run liquibase in a non-empty schema (so that the test_create_data will not populate data again)?
I have tried this way, but it failed. It would give me ‘Build failure’ error.
call test_create_synonyms();
call test_create_data();
Option 2: change any parameter setting? which one?
Thanks for your input!
-
Learn
-
Resources
-
Free Tools
OSS Risk Scanner Database DevOps Risk AssessmentCheat Sheets
Snowflake + Liquibase Databricks + Liquibase -
eBooks
6 Liquibase Community Risks & How to Avoid Guide: SOC 2 Compliance at the Database Layer Guide: Quantify the Value of Liquibase Secure -
Comparison Guides
Liquibase vs. Flyway Liquibase vs. Bytebase Liquibase Community vs Liquibase Secure
-
- Quickstart
- Get Started
- Documentation
- University
-
Resources
- Connect
- Contribute
- Join
- Blog