From 29878479171a888a9e66b1310cdac10bce07c519 Mon Sep 17 00:00:00 2001 From: tommy Date: Thu, 11 Jun 2026 15:52:24 +0800 Subject: [PATCH] add precon --- .../20260611_01_codex/01_add_report_management_authority.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/resources/db/changelog/changes/20260611_01_codex/01_add_report_management_authority.sql b/src/main/resources/db/changelog/changes/20260611_01_codex/01_add_report_management_authority.sql index 0865cb7..f20b099 100644 --- a/src/main/resources/db/changelog/changes/20260611_01_codex/01_add_report_management_authority.sql +++ b/src/main/resources/db/changelog/changes/20260611_01_codex/01_add_report_management_authority.sql @@ -1,3 +1,5 @@ -- liquibase formatted sql -- changeset codex:add report management authority +-- preconditions onFail:MARK_RAN +-- precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM authority WHERE authority = 'REPORT_MGMT' INSERT INTO `fpsmsdb`.`authority` (`authority`, `name`) VALUES ('REPORT_MGMT', '報告管理');