From 2658626c7ec285254d1e7c4f3aae044eaef366db Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Mon, 28 Aug 2023 12:05:36 -0700 Subject: [PATCH] Add CIECA PFL info. --- hasura/metadata/tables.yaml | 9 ++++++--- .../down.sql | 4 ++++ .../up.sql | 2 ++ 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 hasura/migrations/1693249238670_alter_table_public_jobs_add_column_cieca_pfl/down.sql create mode 100644 hasura/migrations/1693249238670_alter_table_public_jobs_add_column_cieca_pfl/up.sql diff --git a/hasura/metadata/tables.yaml b/hasura/metadata/tables.yaml index 2e44c4b14..7b3e5a4b7 100644 --- a/hasura/metadata/tables.yaml +++ b/hasura/metadata/tables.yaml @@ -3273,6 +3273,7 @@ - ca_gst_registrant - cat_no - category + - cieca_pfl - cieca_stl - cieca_ttl - ciecaid @@ -3314,6 +3315,7 @@ - date_repairstarted - date_scheduled - date_towin + - date_void - ded_amt - ded_note - ded_status @@ -3495,7 +3497,6 @@ - v_model_yr - v_vin - vehicleid - - date_void - voided select_permissions: - role: user @@ -3539,6 +3540,7 @@ - ca_gst_registrant - cat_no - category + - cieca_pfl - cieca_stl - cieca_ttl - ciecaid @@ -3580,6 +3582,7 @@ - date_repairstarted - date_scheduled - date_towin + - date_void - ded_amt - ded_note - ded_status @@ -3762,7 +3765,6 @@ - v_model_yr - v_vin - vehicleid - - date_void - voided filter: bodyshop: @@ -3816,6 +3818,7 @@ - ca_gst_registrant - cat_no - category + - cieca_pfl - cieca_stl - cieca_ttl - ciecaid @@ -3857,6 +3860,7 @@ - date_repairstarted - date_scheduled - date_towin + - date_void - ded_amt - ded_note - ded_status @@ -4039,7 +4043,6 @@ - v_model_yr - v_vin - vehicleid - - date_void - voided filter: bodyshop: diff --git a/hasura/migrations/1693249238670_alter_table_public_jobs_add_column_cieca_pfl/down.sql b/hasura/migrations/1693249238670_alter_table_public_jobs_add_column_cieca_pfl/down.sql new file mode 100644 index 000000000..cbcf70c02 --- /dev/null +++ b/hasura/migrations/1693249238670_alter_table_public_jobs_add_column_cieca_pfl/down.sql @@ -0,0 +1,4 @@ +-- Could not auto-generate a down migration. +-- Please write an appropriate down migration for the SQL below: +-- alter table "public"."jobs" add column "cieca_pfl" jsonb +-- null default jsonb_build_object(); diff --git a/hasura/migrations/1693249238670_alter_table_public_jobs_add_column_cieca_pfl/up.sql b/hasura/migrations/1693249238670_alter_table_public_jobs_add_column_cieca_pfl/up.sql new file mode 100644 index 000000000..9eeeb9ed8 --- /dev/null +++ b/hasura/migrations/1693249238670_alter_table_public_jobs_add_column_cieca_pfl/up.sql @@ -0,0 +1,2 @@ +alter table "public"."jobs" add column "cieca_pfl" jsonb + null default jsonb_build_object();