-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14685 from transcom/B-21966-Add-Rejected-Admin-MAIN
B 21966 add rejected admin main
- Loading branch information
Showing
41 changed files
with
2,798 additions
and
84 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
...ations/app/ddl_migrations/ddl_tables/20250221195633_tbl_alter_office_users_B-21966.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,6 @@ | ||
--B-21966 Konstance Haffaney Add column to office_users | ||
|
||
ALTER TABLE public.office_users | ||
ADD COLUMN IF NOT EXISTS rejected_on timestamptz; | ||
|
||
COMMENT on COLUMN office_users.rejected_on IS 'Date requested office users were rejected.'; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# This is the migrations manifest. | ||
# If a migration is not recorded here, then it will error. | ||
# Naming convention: 202502201325_B-123456_update_some_table.up.sql running <milmove gen migration -n B-123456_update_some_table> will create this file. | ||
20250227160358_B-21966_add_data_to_office_users.up.sql | ||
20250227211521_update_re_countries.up.sql | ||
20250227211534_update_re_country_prn_divisions.up.sql |
5 changes: 5 additions & 0 deletions
5
migrations/app/schema/20250227160358_B-21966_add_data_to_office_users.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,5 @@ | ||
-- Adds rejectedOn date to pre-existing rejected office users. | ||
UPDATE office_users | ||
SET rejected_on = updated_at | ||
WHERE | ||
status ='REJECTED'::public."office_user_status" AND rejected_on is null; |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
58 changes: 58 additions & 0 deletions
58
pkg/gen/adminapi/adminoperations/rejected_office_users/get_rejected_office_user.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
91 changes: 91 additions & 0 deletions
91
...gen/adminapi/adminoperations/rejected_office_users/get_rejected_office_user_parameters.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.