From 79a3b58a868689ae9add5ca2d564f68c98a88b36 Mon Sep 17 00:00:00 2001 From: Dave Date: Tue, 30 Dec 2025 18:56:05 -0500 Subject: [PATCH] feature/IO-3479-Customer-Phone-Numbers - DB Modifications --- hasura/metadata/tables.yaml | 6 ++++++ .../down.sql | 4 ++++ .../up.sql | 2 ++ .../down.sql | 4 ++++ .../up.sql | 2 ++ 5 files changed, 18 insertions(+) create mode 100644 hasura/migrations/1767138645058_alter_table_public_jobs_add_column_ownr_ph1_ty/down.sql create mode 100644 hasura/migrations/1767138645058_alter_table_public_jobs_add_column_ownr_ph1_ty/up.sql create mode 100644 hasura/migrations/1767138667991_alter_table_public_jobs_add_column_ownr_ph2_ty/down.sql create mode 100644 hasura/migrations/1767138667991_alter_table_public_jobs_add_column_ownr_ph2_ty/up.sql diff --git a/hasura/metadata/tables.yaml b/hasura/metadata/tables.yaml index 870dcb880..7cf11c8de 100644 --- a/hasura/metadata/tables.yaml +++ b/hasura/metadata/tables.yaml @@ -3799,8 +3799,10 @@ - ownr_fn - ownr_ln - ownr_ph1 + - ownr_ph1_ty - ownr_ph1x - ownr_ph2 + - ownr_ph2_ty - ownr_ph2x - ownr_st - ownr_title @@ -4079,8 +4081,10 @@ - ownr_fn - ownr_ln - ownr_ph1 + - ownr_ph1_ty - ownr_ph1x - ownr_ph2 + - ownr_ph2_ty - ownr_ph2x - ownr_st - ownr_title @@ -4370,8 +4374,10 @@ - ownr_fn - ownr_ln - ownr_ph1 + - ownr_ph1_ty - ownr_ph1x - ownr_ph2 + - ownr_ph2_ty - ownr_ph2x - ownr_st - ownr_title diff --git a/hasura/migrations/1767138645058_alter_table_public_jobs_add_column_ownr_ph1_ty/down.sql b/hasura/migrations/1767138645058_alter_table_public_jobs_add_column_ownr_ph1_ty/down.sql new file mode 100644 index 000000000..60e1189bd --- /dev/null +++ b/hasura/migrations/1767138645058_alter_table_public_jobs_add_column_ownr_ph1_ty/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 "ownr_ph1_ty" text +-- null; diff --git a/hasura/migrations/1767138645058_alter_table_public_jobs_add_column_ownr_ph1_ty/up.sql b/hasura/migrations/1767138645058_alter_table_public_jobs_add_column_ownr_ph1_ty/up.sql new file mode 100644 index 000000000..3d1c0e5ea --- /dev/null +++ b/hasura/migrations/1767138645058_alter_table_public_jobs_add_column_ownr_ph1_ty/up.sql @@ -0,0 +1,2 @@ +alter table "public"."jobs" add column "ownr_ph1_ty" text + null; diff --git a/hasura/migrations/1767138667991_alter_table_public_jobs_add_column_ownr_ph2_ty/down.sql b/hasura/migrations/1767138667991_alter_table_public_jobs_add_column_ownr_ph2_ty/down.sql new file mode 100644 index 000000000..b16896fbb --- /dev/null +++ b/hasura/migrations/1767138667991_alter_table_public_jobs_add_column_ownr_ph2_ty/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 "ownr_ph2_ty" text +-- null; diff --git a/hasura/migrations/1767138667991_alter_table_public_jobs_add_column_ownr_ph2_ty/up.sql b/hasura/migrations/1767138667991_alter_table_public_jobs_add_column_ownr_ph2_ty/up.sql new file mode 100644 index 000000000..f513a8a1c --- /dev/null +++ b/hasura/migrations/1767138667991_alter_table_public_jobs_add_column_ownr_ph2_ty/up.sql @@ -0,0 +1,2 @@ +alter table "public"."jobs" add column "ownr_ph2_ty" text + null;