Skip to content

Commit

Permalink
feat: Add GovPay columns to team_integrations table (#2786)
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr authored Feb 14, 2024
1 parent 7e4e779 commit 254f9ab
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
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>';

0 comments on commit 254f9ab

Please sign in to comment.