Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: team_settings column rename from boundary_json to boundary_bbox #3375

Merged
merged 1 commit into from
Jul 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 36 additions & 36 deletions hasura.planx.uk/metadata/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
definition:
enable_manual: false
insert:
columns: "*"
columns: '*'
retry_conf:
interval_sec: 30
num_retries: 1
Expand All @@ -171,7 +171,7 @@
query_params:
type: bops-submission
template_engine: Kriti
url: "{{$base_url}}/webhooks/hasura/send-slack-notification"
url: '{{$base_url}}/webhooks/hasura/send-slack-notification'
version: 2
- table:
name: document_template
Expand Down Expand Up @@ -225,7 +225,7 @@
definition:
enable_manual: false
insert:
columns: "*"
columns: '*'
retry_conf:
interval_sec: 30
num_retries: 1
Expand All @@ -239,7 +239,7 @@
query_params:
type: email-submission
template_engine: Kriti
url: "{{$base_url}}/webhooks/hasura/send-slack-notification"
url: '{{$base_url}}/webhooks/hasura/send-slack-notification'
version: 2
- table:
name: feedback
Expand Down Expand Up @@ -451,9 +451,9 @@
forward_client_headers: false
headers:
- name: authorization
value: "{{HASURA_PLANX_API_KEY}}"
value: '{{HASURA_PLANX_API_KEY}}'
timeout: 10
url: "{{HASURA_PLANX_API_URL}}/webhooks/hasura/validate-input/jsonb/clean-html"
url: '{{HASURA_PLANX_API_URL}}/webhooks/hasura/validate-input/jsonb/clean-html'
type: http
- role: platformAdmin
permission:
Expand All @@ -475,9 +475,9 @@
forward_client_headers: false
headers:
- name: authorization
value: "{{HASURA_PLANX_API_KEY}}"
value: '{{HASURA_PLANX_API_KEY}}'
timeout: 10
url: "{{HASURA_PLANX_API_URL}}/webhooks/hasura/validate-input/jsonb/clean-html"
url: '{{HASURA_PLANX_API_URL}}/webhooks/hasura/validate-input/jsonb/clean-html'
type: http
- role: teamEditor
permission:
Expand Down Expand Up @@ -506,9 +506,9 @@
forward_client_headers: false
headers:
- name: authorization
value: "{{HASURA_PLANX_API_KEY}}"
value: '{{HASURA_PLANX_API_KEY}}'
timeout: 10
url: "{{HASURA_PLANX_API_URL}}/webhooks/hasura/validate-input/jsonb/clean-html"
url: '{{HASURA_PLANX_API_URL}}/webhooks/hasura/validate-input/jsonb/clean-html'
type: http
select_permissions:
- role: api
Expand Down Expand Up @@ -609,9 +609,9 @@
forward_client_headers: false
headers:
- name: authorization
value: "{{HASURA_PLANX_API_KEY}}"
value: '{{HASURA_PLANX_API_KEY}}'
timeout: 10
url: "{{HASURA_PLANX_API_URL}}/webhooks/hasura/validate-input/jsonb/clean-html"
url: '{{HASURA_PLANX_API_URL}}/webhooks/hasura/validate-input/jsonb/clean-html'
type: http
- role: platformAdmin
permission:
Expand All @@ -629,9 +629,9 @@
forward_client_headers: false
headers:
- name: authorization
value: "{{HASURA_PLANX_API_KEY}}"
value: '{{HASURA_PLANX_API_KEY}}'
timeout: 10
url: "{{HASURA_PLANX_API_URL}}/webhooks/hasura/validate-input/jsonb/clean-html"
url: '{{HASURA_PLANX_API_URL}}/webhooks/hasura/validate-input/jsonb/clean-html'
type: http
- role: teamEditor
permission:
Expand All @@ -656,9 +656,9 @@
forward_client_headers: false
headers:
- name: authorization
value: "{{HASURA_PLANX_API_KEY}}"
value: '{{HASURA_PLANX_API_KEY}}'
timeout: 10
url: "{{HASURA_PLANX_API_URL}}/webhooks/hasura/validate-input/jsonb/clean-html"
url: '{{HASURA_PLANX_API_URL}}/webhooks/hasura/validate-input/jsonb/clean-html'
type: http
delete_permissions:
- role: platformAdmin
Expand Down Expand Up @@ -689,9 +689,9 @@
forward_client_headers: false
headers:
- name: authorization
value: "{{HASURA_PLANX_API_KEY}}"
value: '{{HASURA_PLANX_API_KEY}}'
timeout: 10
url: "{{HASURA_PLANX_API_URL}}/webhooks/hasura/validate-input/jsonb/clean-html"
url: '{{HASURA_PLANX_API_URL}}/webhooks/hasura/validate-input/jsonb/clean-html'
type: http
select_permissions:
- role: platformAdmin
Expand Down Expand Up @@ -724,9 +724,9 @@
forward_client_headers: false
headers:
- name: authorization
value: "{{HASURA_PLANX_API_KEY}}"
value: '{{HASURA_PLANX_API_KEY}}'
timeout: 10
url: "{{HASURA_PLANX_API_URL}}/webhooks/hasura/validate-input/jsonb/clean-html"
url: '{{HASURA_PLANX_API_URL}}/webhooks/hasura/validate-input/jsonb/clean-html'
type: http
- table:
name: lowcal_sessions
Expand Down Expand Up @@ -873,7 +873,7 @@
method: POST
query_params: {}
template_engine: Kriti
url: "{{$base_url}}/send-email/confirmation"
url: '{{$base_url}}/send-email/confirmation'
version: 2
- name: setup_lowcal_expiry_events
definition:
Expand Down Expand Up @@ -903,7 +903,7 @@
method: POST
query_params: {}
template_engine: Kriti
url: "{{$base_url}}/webhooks/hasura/create-expiry-event"
url: '{{$base_url}}/webhooks/hasura/create-expiry-event'
version: 2
- name: setup_lowcal_reminder_events
definition:
Expand Down Expand Up @@ -933,7 +933,7 @@
method: POST
query_params: {}
template_engine: Kriti
url: "{{$base_url}}/webhooks/hasura/create-reminder-event"
url: '{{$base_url}}/webhooks/hasura/create-reminder-event'
version: 2
- table:
name: operations
Expand Down Expand Up @@ -1110,7 +1110,7 @@
definition:
enable_manual: false
insert:
columns: "*"
columns: '*'
retry_conf:
interval_sec: 10
num_retries: 3
Expand All @@ -1132,13 +1132,13 @@
method: POST
query_params: {}
template_engine: Kriti
url: "{{$base_url}}/webhooks/hasura/create-payment-expiry-events"
url: '{{$base_url}}/webhooks/hasura/create-payment-expiry-events'
version: 2
- name: setup_payment_invitation_events
definition:
enable_manual: false
insert:
columns: "*"
columns: '*'
retry_conf:
interval_sec: 10
num_retries: 3
Expand All @@ -1160,13 +1160,13 @@
method: POST
query_params: {}
template_engine: Kriti
url: "{{$base_url}}/webhooks/hasura/create-payment-invitation-events"
url: '{{$base_url}}/webhooks/hasura/create-payment-invitation-events'
version: 2
- name: setup_payment_reminder_events
definition:
enable_manual: false
insert:
columns: "*"
columns: '*'
retry_conf:
interval_sec: 10
num_retries: 3
Expand All @@ -1188,7 +1188,7 @@
method: POST
query_params: {}
template_engine: Kriti
url: "{{$base_url}}/webhooks/hasura/create-payment-reminder-events"
url: '{{$base_url}}/webhooks/hasura/create-payment-reminder-events'
version: 2
- name: setup_payment_send_events
definition:
Expand Down Expand Up @@ -1217,7 +1217,7 @@
method: POST
query_params: {}
template_engine: Kriti
url: "{{$base_url}}/webhooks/hasura/create-payment-send-events"
url: '{{$base_url}}/webhooks/hasura/create-payment-send-events'
version: 2
- table:
name: payment_status
Expand Down Expand Up @@ -1662,7 +1662,7 @@
columns:
- id
- team_id
- boundary_json
- boundary_bbox
- boundary_url
- email_reply_to_id
- external_planning_site_name
Expand All @@ -1679,7 +1679,7 @@
columns:
- id
- team_id
- boundary_json
- boundary_bbox
- boundary_url
- email_reply_to_id
- external_planning_site_name
Expand All @@ -1694,7 +1694,7 @@
- role: public
permission:
columns:
- boundary_json
- boundary_bbox
- boundary_url
- email_reply_to_id
- external_planning_site_name
Expand All @@ -1713,7 +1713,7 @@
columns:
- id
- team_id
- boundary_json
- boundary_bbox
- boundary_url
- email_reply_to_id
- external_planning_site_name
Expand Down Expand Up @@ -2064,7 +2064,7 @@
definition:
enable_manual: false
insert:
columns: "*"
columns: '*'
retry_conf:
interval_sec: 30
num_retries: 1
Expand All @@ -2078,7 +2078,7 @@
query_params:
type: uniform-submission
template_engine: Kriti
url: "{{$base_url}}/webhooks/hasura/send-slack-notification"
url: '{{$base_url}}/webhooks/hasura/send-slack-notification'
version: 2
- table:
name: user_roles
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alter table "public"."team_settings" rename column "boundary_bbox" to "boundary_json";
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alter table "public"."team_settings" rename column "boundary_json" to "boundary_bbox";
Loading