Skip to content

Commit

Permalink
drop column and adjust write script
Browse files Browse the repository at this point in the history
  • Loading branch information
RODO94 committed Sep 6, 2024
1 parent 36a3a1b commit d9d2b8d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 30 deletions.
29 changes: 0 additions & 29 deletions hasura.planx.uk/metadata/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2055,7 +2055,6 @@
- notify_personalisation
- settings
- slug
- submission_email
- updated_at
select_permissions:
- role: api
Expand All @@ -2070,7 +2069,6 @@
- reference_code
- settings
- slug
- submission_email
- updated_at
computed_fields:
- boundary_bbox
Expand Down Expand Up @@ -2130,35 +2128,8 @@
- notify_personalisation
- settings
- slug
- submission_email
filter: {}
check: null
- table:
name: teams_summary
schema: public
select_permissions:
- role: platformAdmin
permission:
columns:
- govpay_enabled
- planning_data_enabled
- id
- govnotify_personalisation
- action_colour
- article_4s_enabled
- bops_submission_url
- favicon
- homepage
- link_colour
- logo
- name
- primary_colour
- reference_code
- send_to_email_address
- slug
- subdomain
filter: {}
comment: ""
- table:
name: uniform_applications
schema: public
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
comment on column "public"."teams"."submission_email" is E'Teams are core way we organise `flows` and configure settings like theme colour, logo, and contact info; name usually reflects a council but not exclusively';
alter table "public"."teams" alter column "submission_email" drop not null;
alter table "public"."teams" add column "submission_email" text;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alter table "public"."teams" drop column "submission_email" cascade;
1 change: 0 additions & 1 deletion scripts/seed-database/write/teams.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ CREATE TEMPORARY TABLE sync_teams (
settings jsonb,
notify_personalisation jsonb,
domain text,
submission_email text,
boundary jsonb,
reference_code text
);
Expand Down

0 comments on commit d9d2b8d

Please sign in to comment.