-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Ashish egov patch 1 (#1280) * Update campaignApis.ts * Update campaignUtils.ts (#1279) * Update publishProjectFactory.yml (#1281) * feat: Add parentId and isActive columns to eg_cm_campaign_details, re… (#1285) feat: Add parentId and isActive columns to eg_cm_campaign_details, remove unique constraint on campaignName * Usage user column (#1291) * Update campaignApis.ts (#1278) * Update campaignApis.ts * Update campaignUtils.ts (#1279) * feat: Add parentId and isActive columns to eg_cm_campaign_details, remove unique constraint on campaignName * Feat : adding usage column in user create * User mapping campaign (#1292) * feat: Add parentId and isActive columns to eg_cm_campaign_details, remove unique constraint on campaignName * Fix : user mapping * Update publishProjectFactory.yml (#1294) * Update utilities/project-factory/src/server/validators/campaignValidators.ts Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
- Loading branch information
1 parent
529a1bb
commit 0a419be
Showing
12 changed files
with
200 additions
and
154 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
utilities/project-factory/migration/main/V20240814121200__campaign_details_add_column.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ALTER TABLE eg_cm_campaign_details | ||
ADD COLUMN "parentId" character varying(128); | ||
|
||
ALTER TABLE eg_cm_campaign_details | ||
ADD COLUMN "isActive" boolean; | ||
|
||
ALTER TABLE eg_cm_campaign_details | ||
DROP CONSTRAINT eg_cm_campaign_details_campaignName_key; | ||
|
13 changes: 13 additions & 0 deletions
13
utilities/project-factory/migration/main/V20240814180000__campaign_details_add_column.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
-- Drop the columns if they exist | ||
ALTER TABLE eg_cm_campaign_details | ||
DROP COLUMN IF EXISTS "parentId"; | ||
|
||
ALTER TABLE eg_cm_campaign_details | ||
DROP COLUMN IF EXISTS "isActive"; | ||
|
||
-- Add the columns with lowercase names | ||
ALTER TABLE eg_cm_campaign_details | ||
ADD COLUMN parentid character varying(128); | ||
|
||
ALTER TABLE eg_cm_campaign_details | ||
ADD COLUMN isactive boolean; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.