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

fix: add logs column to temp_data_migrations_audit table and create relationship from flow to lowcal_sessions #4102

Merged
merged 1 commit into from
Dec 20, 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
11 changes: 10 additions & 1 deletion hasura.planx.uk/metadata/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,15 @@
table:
name: flow_document_templates
schema: public
- name: lowcal_sessions
using:
manual_configuration:
column_mapping:
id: flow_id
insertion_order: null
remote_table:
name: lowcal_sessions
schema: public
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This allows us to relationally query the lowcal_sessions for a given flow

- name: operations
using:
foreign_key_constraint_on:
Expand Down Expand Up @@ -2468,7 +2477,7 @@
name: temp_data_migrations_audit
schema: public
object_relationships:
- name: flows
- name: flow
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an object_relationship and should therefore be a singular rather than plural name, my mistake yesterday !

using:
manual_configuration:
column_mapping:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alter table "public"."temp_data_migrations_audit" drop column "logs";
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alter table "public"."temp_data_migrations_audit" add column "logs" text null;
Loading