From caeaf14d60422ae7d591c8e565e2a650382da263 Mon Sep 17 00:00:00 2001 From: Dierk Bergmann Date: Thu, 24 Feb 2022 18:37:37 +0100 Subject: [PATCH] add precondition to changeset --- .../resources/db/changelog/V016_add_testType_column.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/resources/db/changelog/V016_add_testType_column.yml b/src/main/resources/db/changelog/V016_add_testType_column.yml index c4a0b5c0..c0a4a02c 100644 --- a/src/main/resources/db/changelog/V016_add_testType_column.yml +++ b/src/main/resources/db/changelog/V016_add_testType_column.yml @@ -2,6 +2,13 @@ databaseChangeLog: - changeSet: id: add-groupname-columns author: bergmann-dierk + preConditions: + - onFail: MARK_RAN + - onError: MARK_RAN + - not: + - columnExists: + tableName: quick_test + columnName: test_type changes: - addColumn: tableName: quick_test