-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
28 additions
and
12 deletions.
There are no files selected for viewing
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
2 changes: 2 additions & 0 deletions
2
...tions/1724407660297_alter_table_public_team_settings_add_column_submission_email/down.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,2 @@ | ||
ALTER TABLE team_settings | ||
DROP COLUMN submission_email; |
8 changes: 8 additions & 0 deletions
8
...rations/1724407660297_alter_table_public_team_settings_add_column_submission_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,8 @@ | ||
alter table "public"."team_settings" add column "submission_email" text | ||
null; | ||
comment on column "public"."team_settings"."submission_email" is E'Referenced by Send component when configured to email planning office'; | ||
|
||
UPDATE team_settings | ||
SET submission_email = teams.submission_email | ||
FROM teams | ||
WHERE team_settings.team_id = teams.id; |