Skip to content

Commit

Permalink
feat: Add govpay columns to team_integrations table
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Feb 14, 2024
1 parent c233afe commit b79336c
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 b79336c

Please sign in to comment.