Hello everyone,
i have a question regarding data validation. Currently I am inserting data in the DB with the insert method from Liquidbase like this:
…
…
an then I validate this data in a following changeset with preconditions and sqlchecks because the constraint are a little complex. This works fine. The problem that I am having is that I want the precondition do be checked after each insert of the data, in order to stop inserting data, if the precondition is violated. Something like a postcondition. Is there anyway to do this?
Regards,
Rodolfo
-
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