-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tenant-management): add communication email in user data
add communication email in user data gh-0
- Loading branch information
1 parent
3f8bde9
commit 5039a71
Showing
4 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
...ement-service/migrations/pg/migrations/sqls/20250103110812-add-communication-email-up.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,17 @@ | ||
-- Migration: Update email fields in leads and contacts tables | ||
|
||
-- Step 1: Add new columns to main.leads | ||
ALTER TABLE main.leads | ||
ADD COLUMN communication_email varchar(100); | ||
|
||
-- Add comments for new columns in main.leads | ||
COMMENT ON COLUMN main.leads.communication_email IS 'Email used for communication purposes.'; | ||
|
||
-- Step 4: Add new columns to main.contacts | ||
ALTER TABLE main.contacts | ||
ADD COLUMN communication_email varchar(100); | ||
|
||
-- Add comments for new columns in main.contacts | ||
COMMENT ON COLUMN main.contacts.communication_email IS 'Email used for communication purposes.'; | ||
|
||
-- End of migration |
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