From 0d3b6d0965c4af305481b56fc8642bf79c750b0b Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Fri, 20 Dec 2024 15:34:01 +0100 Subject: [PATCH] add logs column and flow to lowcal_sessions relationship --- hasura.planx.uk/metadata/tables.yaml | 11 ++++++++++- .../down.sql | 1 + .../up.sql | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 hasura.planx.uk/migrations/1734705022933_alter_table_public_temp_data_migrations_audit_add_column_logs/down.sql create mode 100644 hasura.planx.uk/migrations/1734705022933_alter_table_public_temp_data_migrations_audit_add_column_logs/up.sql diff --git a/hasura.planx.uk/metadata/tables.yaml b/hasura.planx.uk/metadata/tables.yaml index 806ad6332e..2dfe77979c 100644 --- a/hasura.planx.uk/metadata/tables.yaml +++ b/hasura.planx.uk/metadata/tables.yaml @@ -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 - name: operations using: foreign_key_constraint_on: @@ -2468,7 +2477,7 @@ name: temp_data_migrations_audit schema: public object_relationships: - - name: flows + - name: flow using: manual_configuration: column_mapping: diff --git a/hasura.planx.uk/migrations/1734705022933_alter_table_public_temp_data_migrations_audit_add_column_logs/down.sql b/hasura.planx.uk/migrations/1734705022933_alter_table_public_temp_data_migrations_audit_add_column_logs/down.sql new file mode 100644 index 0000000000..bab851a271 --- /dev/null +++ b/hasura.planx.uk/migrations/1734705022933_alter_table_public_temp_data_migrations_audit_add_column_logs/down.sql @@ -0,0 +1 @@ +alter table "public"."temp_data_migrations_audit" drop column "logs"; diff --git a/hasura.planx.uk/migrations/1734705022933_alter_table_public_temp_data_migrations_audit_add_column_logs/up.sql b/hasura.planx.uk/migrations/1734705022933_alter_table_public_temp_data_migrations_audit_add_column_logs/up.sql new file mode 100644 index 0000000000..3dfe458e1c --- /dev/null +++ b/hasura.planx.uk/migrations/1734705022933_alter_table_public_temp_data_migrations_audit_add_column_logs/up.sql @@ -0,0 +1 @@ +alter table "public"."temp_data_migrations_audit" add column "logs" text null;