Skip to content

Commit

Permalink
feat: Add team_integrations table
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Nov 29, 2023
1 parent dd61e76 commit 97225e4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions hasura.planx.uk/metadata/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,17 @@
- locked_at:
_is_null: true
check: null
- table:
schema: public
name: team_integrations
select_permissions:
- role: api
permission:
columns:
- id
- team_id
- bops_submission_url
filter: {}
- table:
schema: public
name: team_members
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP TABLE "public"."team_integrations";
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CREATE TABLE "public"."team_integrations" ("id" serial NOT NULL, "team_id" integer NOT NULL, "bops_submission_url" text, PRIMARY KEY ("id") , FOREIGN KEY ("team_id") REFERENCES "public"."teams"("id") ON UPDATE restrict ON DELETE cascade, UNIQUE ("team_id"));COMMENT ON TABLE "public"."team_integrations" IS E'Tracks URLs and API keys for integrations';

0 comments on commit 97225e4

Please sign in to comment.