From 45a6ad80765b0288ea8ec163989bbe7e2269b6ec Mon Sep 17 00:00:00 2001 From: ashish-egov Date: Wed, 31 Jul 2024 16:28:57 +0530 Subject: [PATCH] adding constraint --- .../V20240731162600__add_uniqiue_constraint_process_track.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 utilities/project-factory/migration/main/V20240731162600__add_uniqiue_constraint_process_track.sql diff --git a/utilities/project-factory/migration/main/V20240731162600__add_uniqiue_constraint_process_track.sql b/utilities/project-factory/migration/main/V20240731162600__add_uniqiue_constraint_process_track.sql new file mode 100644 index 00000000000..13bbc45bce0 --- /dev/null +++ b/utilities/project-factory/migration/main/V20240731162600__add_uniqiue_constraint_process_track.sql @@ -0,0 +1,2 @@ +ALTER TABLE eg_cm_campaign_process +ADD CONSTRAINT uq_campaignId_type UNIQUE (campaignId, type); \ No newline at end of file