Skip to content

Commit

Permalink
feat: add teams.reference_code to store Planning Data organisation (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak authored Nov 17, 2023
1 parent b2fc694 commit f098e19
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
16 changes: 10 additions & 6 deletions hasura.planx.uk/metadata/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1324,17 +1324,18 @@
- role: api
permission:
columns:
- boundary
- created_at
- domain
- id
- name
- notify_personalisation
- reference_code
- settings
- theme
- domain
- name
- slug
- created_at
- updated_at
- boundary
- submission_email
- theme
- updated_at
computed_fields:
- boundary_bbox
filter: {}
Expand All @@ -1346,6 +1347,7 @@
- id
- name
- notify_personalisation
- reference_code
- settings
- slug
- theme
Expand All @@ -1362,6 +1364,7 @@
- id
- name
- notify_personalisation
- reference_code
- settings
- slug
- theme
Expand All @@ -1377,6 +1380,7 @@
- id
- name
- notify_personalisation
- reference_code
- settings
- slug
- theme
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alter table "public"."teams" drop column "reference_code" cascade;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
alter table "public"."teams" add column "reference_code" text null;
comment on column "public"."teams"."reference_code" is E'Organisation reference code sourced from planning.data.gov.uk/dataset/local-authority';

0 comments on commit f098e19

Please sign in to comment.