Update assigned_to handling on front end & debug task assignment.
This commit is contained in:
@@ -2335,6 +2335,13 @@
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
- name: tasks
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
column: assigned_to
|
||||
table:
|
||||
name: tasks
|
||||
schema: public
|
||||
- name: timetickets
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
@@ -5678,15 +5685,15 @@
|
||||
name: tasks
|
||||
schema: public
|
||||
object_relationships:
|
||||
- name: assigned_to_employee
|
||||
using:
|
||||
foreign_key_constraint_on: assigned_to
|
||||
- name: bill
|
||||
using:
|
||||
foreign_key_constraint_on: billid
|
||||
- name: bodyshop
|
||||
using:
|
||||
foreign_key_constraint_on: bodyshopid
|
||||
- name: employee
|
||||
using:
|
||||
foreign_key_constraint_on: assigned_to
|
||||
- name: job
|
||||
using:
|
||||
foreign_key_constraint_on: jobid
|
||||
@@ -5736,6 +5743,7 @@
|
||||
- role: user
|
||||
permission:
|
||||
columns:
|
||||
- assigned_to
|
||||
- billid
|
||||
- bodyshopid
|
||||
- completed
|
||||
@@ -5807,7 +5815,7 @@
|
||||
columns: '*'
|
||||
update:
|
||||
columns:
|
||||
- bodyshopid
|
||||
- assigned_to
|
||||
retry_conf:
|
||||
interval_sec: 10
|
||||
num_retries: 3
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
DROP INDEX IF EXISTS "public"."tasks_jobid";
|
||||
@@ -0,0 +1,2 @@
|
||||
CREATE INDEX "tasks_jobid" on
|
||||
"public"."tasks" using btree ("jobid");
|
||||
@@ -0,0 +1 @@
|
||||
DROP INDEX IF EXISTS "public"."tasks_assigned-to";
|
||||
@@ -0,0 +1,2 @@
|
||||
CREATE INDEX "tasks_assigned-to" on
|
||||
"public"."tasks" using btree ("assigned_to");
|
||||
@@ -0,0 +1 @@
|
||||
DROP INDEX IF EXISTS "public"."tasks_joblineid";
|
||||
@@ -0,0 +1,2 @@
|
||||
CREATE INDEX "tasks_joblineid" on
|
||||
"public"."tasks" using btree ("joblineid");
|
||||
@@ -0,0 +1 @@
|
||||
DROP INDEX IF EXISTS "public"."tasks_partsorderid";
|
||||
@@ -0,0 +1,2 @@
|
||||
CREATE INDEX "tasks_partsorderid" on
|
||||
"public"."tasks" using btree ("partsorderid");
|
||||
@@ -0,0 +1 @@
|
||||
DROP INDEX IF EXISTS "public"."tasks_remind_at";
|
||||
@@ -0,0 +1,2 @@
|
||||
CREATE INDEX "tasks_remind_at" on
|
||||
"public"."tasks" using btree ("remind_at");
|
||||
@@ -0,0 +1 @@
|
||||
DROP INDEX IF EXISTS "public"."tasks_remind_at_sent";
|
||||
@@ -0,0 +1,2 @@
|
||||
CREATE INDEX "tasks_remind_at_sent" on
|
||||
"public"."tasks" using btree ("remind_at_sent");
|
||||
@@ -0,0 +1 @@
|
||||
DROP INDEX IF EXISTS "public"."tasks_bodyshopid";
|
||||
@@ -0,0 +1,2 @@
|
||||
CREATE INDEX "tasks_bodyshopid" on
|
||||
"public"."tasks" using btree ("bodyshopid");
|
||||
Reference in New Issue
Block a user