From d3f49094d826c0bc688eef5b59770c69cad9960c Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Mon, 20 Mar 2023 13:20:43 -0700 Subject: [PATCH] Add ppc field to job lines. --- hasura/metadata/tables.yaml | 3 +++ .../down.sql | 4 ++++ .../up.sql | 2 ++ 3 files changed, 9 insertions(+) create mode 100644 hasura/migrations/1679343513178_alter_table_public_joblines_add_column_act_price_before_ppc/down.sql create mode 100644 hasura/migrations/1679343513178_alter_table_public_joblines_add_column_act_price_before_ppc/up.sql diff --git a/hasura/metadata/tables.yaml b/hasura/metadata/tables.yaml index a576c160e..d18918d04 100644 --- a/hasura/metadata/tables.yaml +++ b/hasura/metadata/tables.yaml @@ -2493,6 +2493,7 @@ _eq: true columns: - act_price + - act_price_before_ppc - ah_detail_line - alt_co_id - alt_overrd @@ -2559,6 +2560,7 @@ permission: columns: - act_price + - act_price_before_ppc - ah_detail_line - alt_co_id - alt_overrd @@ -2637,6 +2639,7 @@ permission: columns: - act_price + - act_price_before_ppc - ah_detail_line - alt_co_id - alt_overrd diff --git a/hasura/migrations/1679343513178_alter_table_public_joblines_add_column_act_price_before_ppc/down.sql b/hasura/migrations/1679343513178_alter_table_public_joblines_add_column_act_price_before_ppc/down.sql new file mode 100644 index 000000000..641b06fc4 --- /dev/null +++ b/hasura/migrations/1679343513178_alter_table_public_joblines_add_column_act_price_before_ppc/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"."joblines" add column "act_price_before_ppc" numeric +-- null; diff --git a/hasura/migrations/1679343513178_alter_table_public_joblines_add_column_act_price_before_ppc/up.sql b/hasura/migrations/1679343513178_alter_table_public_joblines_add_column_act_price_before_ppc/up.sql new file mode 100644 index 000000000..c817ce67a --- /dev/null +++ b/hasura/migrations/1679343513178_alter_table_public_joblines_add_column_act_price_before_ppc/up.sql @@ -0,0 +1,2 @@ +alter table "public"."joblines" add column "act_price_before_ppc" numeric + null;