Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add GovPay columns to team_integrations table #2786

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions hasura.planx.uk/metadata/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1365,8 +1365,10 @@
- id
- production_bops_secret
- production_bops_submission_url
- production_govpay_secret
- staging_bops_secret
- staging_bops_submission_url
- staging_govpay_secret
- team_id
filter: {}
- role: public
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
comment on column "public"."team_integrations"."staging_govpay_secret" is NULL;
comment on column "public"."team_integrations"."production_govpay_secret" is NULL;

ALTER table "public"."team_integrations" DROP COLUMN "staging_govpay_secret";
ALTER table "public"."team_integrations" DROP COLUMN "production_govpay_secret";
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
alter table "public"."team_integrations" add column "staging_govpay_secret" text
null;

comment on column "public"."team_integrations"."staging_govpay_secret" is E'Secret required for GovPay submissions in the format <TOKEN>:<INITIALIZATION_VECTOR>';

alter table "public"."team_integrations" add column "production_govpay_secret" text
null;

comment on column "public"."team_integrations"."production_govpay_secret" is E'Secret required for GovPay submission in the format <API_KEY>:<INITIALIZATION_VECTOR>';
Loading