feature/IO-3479-Customer-Phone-Numbers - DB Modifications

This commit is contained in:
Dave
2025-12-30 17:31:20 -05:00
parent 4a7bb07345
commit 45dd3d8cd6
5 changed files with 22 additions and 1 deletions

View File

@@ -3684,6 +3684,7 @@
- completed_tasks - completed_tasks
- converted - converted
- created_at - created_at
- created_user_email
- cust_pr - cust_pr
- date_estimated - date_estimated
- date_exported - date_exported
@@ -3961,6 +3962,7 @@
- completed_tasks - completed_tasks
- converted - converted
- created_at - created_at
- created_user_email
- cust_pr - cust_pr
- date_estimated - date_estimated
- date_exported - date_exported
@@ -4251,6 +4253,7 @@
- completed_tasks - completed_tasks
- converted - converted
- created_at - created_at
- created_user_email
- cust_pr - cust_pr
- date_estimated - date_estimated
- date_exported - date_exported
@@ -4641,7 +4644,7 @@
request_transform: request_transform:
body: body:
action: transform action: transform
template: "{\r\n \"event\": {\r\n \"session_variables\": {\r\n \"x-hasura-user-id\": {{$body?.event?.session_variables?.x-hasura-user-id ?? \"Internal\"}},\r\n \"x-hasura-role\": {{$body?.event?.session_variables?.x-hasura-role ?? \"Internal\"}}\r\n }, \r\n \"op\": {{$body.event.op}},\r\n \"data\": {\r\n \"new\": {\r\n \"id\": {{$body.event.data.new.id}},\r\n \"shopid\": {{$body.event.data.new?.shopid}},\r\n \"ro_number\": {{$body.event.data.new?.ro_number}}\r\n }\r\n }\r\n },\r\n \"trigger\": {\r\n \"name\": \"notifications_jobs_autoadd\"\r\n },\r\n \"table\": {\r\n \"schema\": \"public\",\r\n \"name\": \"jobs\"\r\n }\r\n}\r\n" template: "{\r\n \"event\": {\r\n \"session_variables\": {\r\n \"x-hasura-user-id\": {{$body?.event?.session_variables?.x-hasura-user-id ?? \"Internal\"}},\r\n \"x-hasura-role\": {{$body?.event?.session_variables?.x-hasura-role ?? \"Internal\"}}\r\n }, \r\n \"op\": {{$body.event.op}},\r\n \"data\": {\r\n \"new\": {\r\n \"id\": {{$body.event.data.new.id}},\r\n \"shopid\": {{$body.event.data.new?.shopid}},\r\n \"ro_number\": {{$body.event.data.new?.ro_number}},\r\n \"created_user_email\": {{$body.event.data.new?.created_user_email}}\r\n }\r\n }\r\n },\r\n \"trigger\": {\r\n \"name\": \"notifications_jobs_autoadd\"\r\n },\r\n \"table\": {\r\n \"schema\": \"public\",\r\n \"name\": \"jobs\"\r\n }\r\n}\r\n"
method: POST method: POST
query_params: {} query_params: {}
template_engine: Kriti template_engine: Kriti
@@ -5168,7 +5171,9 @@
- ownr_fn - ownr_fn
- ownr_ln - ownr_ln
- ownr_ph1 - ownr_ph1
- ownr_ph1_ty
- ownr_ph2 - ownr_ph2
- ownr_ph2_ty
- ownr_st - ownr_st
- ownr_title - ownr_title
- ownr_zip - ownr_zip
@@ -5193,7 +5198,9 @@
- ownr_fn - ownr_fn
- ownr_ln - ownr_ln
- ownr_ph1 - ownr_ph1
- ownr_ph1_ty
- ownr_ph2 - ownr_ph2
- ownr_ph2_ty
- ownr_st - ownr_st
- ownr_title - ownr_title
- ownr_zip - ownr_zip
@@ -5229,7 +5236,9 @@
- ownr_fn - ownr_fn
- ownr_ln - ownr_ln
- ownr_ph1 - ownr_ph1
- ownr_ph1_ty
- ownr_ph2 - ownr_ph2
- ownr_ph2_ty
- ownr_st - ownr_st
- ownr_title - ownr_title
- ownr_zip - ownr_zip

View File

@@ -0,0 +1,4 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- alter table "public"."owners" add column "ownr_ph1_ty" text
-- null;

View File

@@ -0,0 +1,2 @@
alter table "public"."owners" add column "ownr_ph1_ty" text
null;

View File

@@ -0,0 +1,4 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- alter table "public"."owners" add column "ownr_ph2_ty" text
-- null;

View File

@@ -0,0 +1,2 @@
alter table "public"."owners" add column "ownr_ph2_ty" text
null;