diff --git a/database/migrations/2022_12_12_000001_create_address_book_table.php b/database/migrations/2022_12_12_000001_create_address_book_table.php index 29fae26..703ba62 100644 --- a/database/migrations/2022_12_12_000001_create_address_book_table.php +++ b/database/migrations/2022_12_12_000001_create_address_book_table.php @@ -15,11 +15,11 @@ public function up() Schema::create('address_book', function (Blueprint $table) { $table->comment(''); $table->uuid('id')->primary(); - $table->uuid('assigned_user_id'); + $table->uuid('assigned_to_id'); $table->string('bean', 50)->nullable(); $table->uuid('bean_id'); - $table->index(['assigned_user_id', 'bean'], 'ab_user_bean_idx'); + $table->index(['assigned_to_id', 'bean'], 'ab_user_bean_idx'); $table->timestamps(); $table->softDeletes(); }); diff --git a/database/migrations/2022_12_12_000001_create_am_projecttemplates_table.php b/database/migrations/2022_12_12_000001_create_am_projecttemplates_table.php index cac85fa..ea6e739 100644 --- a/database/migrations/2022_12_12_000001_create_am_projecttemplates_table.php +++ b/database/migrations/2022_12_12_000001_create_am_projecttemplates_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->string('status', 100)->nullable()->default('Draft'); $table->string('priority', 100)->nullable()->default('High'); $table->boolean('override_business_hours')->nullable()->default(false); diff --git a/database/migrations/2022_12_12_000001_create_am_tasktemplates_table.php b/database/migrations/2022_12_12_000001_create_am_tasktemplates_table.php index 8f58a1b..d94f3a4 100644 --- a/database/migrations/2022_12_12_000001_create_am_tasktemplates_table.php +++ b/database/migrations/2022_12_12_000001_create_am_tasktemplates_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->string('status', 100)->nullable()->default('Not Started'); $table->string('priority', 100)->nullable()->default('High'); $table->integer('percent_complete')->nullable()->default(0); diff --git a/database/migrations/2022_12_12_000001_create_aod_index_table.php b/database/migrations/2022_12_12_000001_create_aod_index_table.php index 277b854..cf9a886 100644 --- a/database/migrations/2022_12_12_000001_create_aod_index_table.php +++ b/database/migrations/2022_12_12_000001_create_aod_index_table.php @@ -20,7 +20,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->dateTime('last_optimised')->nullable(); $table->string('location')->nullable(); $table->timestamps(); diff --git a/database/migrations/2022_12_12_000001_create_aok_knowledgebase_base_categories_table.php b/database/migrations/2022_12_12_000001_create_aok_knowledgebase_base_categories_table.php index b542d45..27fc341 100644 --- a/database/migrations/2022_12_12_000001_create_aok_knowledgebase_base_categories_table.php +++ b/database/migrations/2022_12_12_000001_create_aok_knowledgebase_base_categories_table.php @@ -20,7 +20,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->timestamps(); $table->softDeletes(); }); diff --git a/database/migrations/2022_12_12_000001_create_aok_knowledgebase_table.php b/database/migrations/2022_12_12_000001_create_aok_knowledgebase_table.php index bd05ef3..5aed587 100644 --- a/database/migrations/2022_12_12_000001_create_aok_knowledgebase_table.php +++ b/database/migrations/2022_12_12_000001_create_aok_knowledgebase_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->string('status', 100)->nullable()->default('Draft'); $table->string('revision')->nullable(); $table->text('additional_info')->nullable(); diff --git a/database/migrations/2022_12_12_000001_create_aor_reports_table.php b/database/migrations/2022_12_12_000001_create_aor_reports_table.php index 7df0296..e106bdd 100644 --- a/database/migrations/2022_12_12_000001_create_aor_reports_table.php +++ b/database/migrations/2022_12_12_000001_create_aor_reports_table.php @@ -20,7 +20,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->string('report_module', 100)->nullable(); $table->integer('graphs_per_row')->nullable()->default(2); $table->timestamps(); diff --git a/database/migrations/2022_12_12_000001_create_aos_pdf_templates_table.php b/database/migrations/2022_12_12_000001_create_aos_pdf_templates_table.php index 4389edb..ced0110 100644 --- a/database/migrations/2022_12_12_000001_create_aos_pdf_templates_table.php +++ b/database/migrations/2022_12_12_000001_create_aos_pdf_templates_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->longText('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->boolean('active')->nullable()->default(true); $table->string('type', 100)->nullable(); $table->longText('pdfheader')->nullable(); diff --git a/database/migrations/2022_12_12_000001_create_aos_product_categories_table.php b/database/migrations/2022_12_12_000001_create_aos_product_categories_table.php index 76b0357..26debca 100644 --- a/database/migrations/2022_12_12_000001_create_aos_product_categories_table.php +++ b/database/migrations/2022_12_12_000001_create_aos_product_categories_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->boolean('is_parent')->nullable()->default(false); $table->uuid('parent_category_id')->nullable(); $table->timestamps(); diff --git a/database/migrations/2022_12_12_000001_create_aow_workflow_table.php b/database/migrations/2022_12_12_000001_create_aow_workflow_table.php index 83ed538..1cedade 100644 --- a/database/migrations/2022_12_12_000001_create_aow_workflow_table.php +++ b/database/migrations/2022_12_12_000001_create_aow_workflow_table.php @@ -20,7 +20,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->string('flow_module', 100)->nullable(); $table->string('flow_run_on', 100)->nullable()->default('0'); $table->string('status', 100)->nullable()->default('Active')->index('aow_workflow_index_status'); diff --git a/database/migrations/2022_12_12_000001_create_bugs_table.php b/database/migrations/2022_12_12_000001_create_bugs_table.php index 66a7fe6..cf5bfb6 100644 --- a/database/migrations/2022_12_12_000001_create_bugs_table.php +++ b/database/migrations/2022_12_12_000001_create_bugs_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable()->index('idx_bugs_assigned_user'); + $table->uuid('assigned_to_id')->nullable()->index('idx_bugs_assigned_to'); $table->integer('bug_number')->index('bug_number'); $table->string('type')->nullable(); $table->string('status', 100)->nullable(); diff --git a/database/migrations/2022_12_12_000001_create_calls_table.php b/database/migrations/2022_12_12_000001_create_calls_table.php index 9259a9a..fb054de 100644 --- a/database/migrations/2022_12_12_000001_create_calls_table.php +++ b/database/migrations/2022_12_12_000001_create_calls_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->integer('duration_hours')->nullable(); $table->integer('duration_minutes')->nullable(); $table->dateTime('date_start')->nullable()->index('idx_calls_date_start'); @@ -40,7 +40,7 @@ public function up() $table->uuid('repeat_parent_id')->nullable(); $table->uuid('recurring_source')->nullable(); - $table->index(['deleted_at', 'assigned_user_id'], 'idx_calls_assigned_del'); + $table->index(['deleted_at', 'assigned_to_id'], 'idx_calls_assigned_del'); $table->index(['parent_id', 'parent_type', 'deleted_at'], 'idx_calls_par_del'); $table->timestamps(); $table->softDeletes(); diff --git a/database/migrations/2022_12_12_000001_create_documents_table.php b/database/migrations/2022_12_12_000001_create_documents_table.php index 0cda95c..3fbd1a8 100644 --- a/database/migrations/2022_12_12_000001_create_documents_table.php +++ b/database/migrations/2022_12_12_000001_create_documents_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->string('document_name')->nullable(); $table->string('doc_id', 100)->nullable(); $table->string('doc_type', 100)->nullable()->default('Sugar'); diff --git a/database/migrations/2022_12_12_000001_create_eapm_table.php b/database/migrations/2022_12_12_000001_create_eapm_table.php index 82ed488..bf6da49 100644 --- a/database/migrations/2022_12_12_000001_create_eapm_table.php +++ b/database/migrations/2022_12_12_000001_create_eapm_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->string('password')->nullable(); $table->string('url')->nullable(); $table->string('application', 100)->nullable()->default('webex'); @@ -30,7 +30,7 @@ public function up() $table->string('oauth_secret')->nullable(); $table->boolean('validated')->nullable(); - $table->index(['assigned_user_id', 'application', 'validated'], 'idx_app_active'); + $table->index(['assigned_to_id', 'application', 'validated'], 'idx_app_active'); $table->timestamps(); $table->softDeletes(); }); diff --git a/database/migrations/2022_12_12_000001_create_email_templates_table.php b/database/migrations/2022_12_12_000001_create_email_templates_table.php index 51384bd..96cc3e1 100644 --- a/database/migrations/2022_12_12_000001_create_email_templates_table.php +++ b/database/migrations/2022_12_12_000001_create_email_templates_table.php @@ -25,7 +25,7 @@ public function up() $table->longText('body')->nullable(); $table->longText('body_html')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->boolean('text_only')->nullable(); $table->string('type')->nullable(); $table->timestamps(); diff --git a/database/migrations/2022_12_12_000001_create_emails_table.php b/database/migrations/2022_12_12_000001_create_emails_table.php index bc20c46..355ec2c 100644 --- a/database/migrations/2022_12_12_000001_create_emails_table.php +++ b/database/migrations/2022_12_12_000001_create_emails_table.php @@ -18,7 +18,7 @@ public function up() $table->string('name')->nullable()->index('idx_email_name'); $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->boolean('orphaned')->nullable(); $table->dateTime('last_synced')->nullable(); $table->dateTime('date_sent_received')->nullable(); @@ -34,7 +34,7 @@ public function up() $table->string('uid')->nullable()->index('idx_email_uid'); $table->string('category_id', 100)->nullable()->index('idx_email_cat'); - $table->index(['assigned_user_id', 'type', 'status'], 'idx_email_assigned'); + $table->index(['assigned_to_id', 'type', 'status'], 'idx_email_assigned'); $table->timestamps(); $table->softDeletes(); }); diff --git a/database/migrations/2022_12_12_000001_create_favorites_table.php b/database/migrations/2022_12_12_000001_create_favorites_table.php index 140af09..8b55fe4 100644 --- a/database/migrations/2022_12_12_000001_create_favorites_table.php +++ b/database/migrations/2022_12_12_000001_create_favorites_table.php @@ -20,7 +20,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->uuid('parent_id')->nullable(); $table->string('parent_type')->nullable(); $table->timestamps(); diff --git a/database/migrations/2022_12_12_000001_create_folders_subscriptions_table.php b/database/migrations/2022_12_12_000001_create_folders_subscriptions_table.php index ada06a6..f7de67b 100644 --- a/database/migrations/2022_12_12_000001_create_folders_subscriptions_table.php +++ b/database/migrations/2022_12_12_000001_create_folders_subscriptions_table.php @@ -16,9 +16,9 @@ public function up() $table->comment(''); $table->uuid('id')->primary(); $table->uuid('folder_id'); - $table->uuid('assigned_user_id'); + $table->uuid('assigned_to_id'); - $table->index(['folder_id', 'assigned_user_id'], 'idx_folder_id_assigned_user_id'); + $table->index(['folder_id', 'assigned_to_id'], 'idx_folder_id_assigned_to_id'); $table->timestamps(); $table->softDeletes(); }); diff --git a/database/migrations/2022_12_12_000001_create_folders_table.php b/database/migrations/2022_12_12_000001_create_folders_table.php index 2fbed0c..39c5759 100644 --- a/database/migrations/2022_12_12_000001_create_folders_table.php +++ b/database/migrations/2022_12_12_000001_create_folders_table.php @@ -23,7 +23,7 @@ public function up() $table->boolean('is_group')->nullable()->default(false); $table->boolean('is_dynamic')->nullable()->default(false); $table->text('dynamic_query')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->timestamps(); diff --git a/database/migrations/2022_12_12_000001_create_fp_event_locations_table.php b/database/migrations/2022_12_12_000001_create_fp_event_locations_table.php index 233e0de..58a239c 100644 --- a/database/migrations/2022_12_12_000001_create_fp_event_locations_table.php +++ b/database/migrations/2022_12_12_000001_create_fp_event_locations_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->string('address')->nullable(); $table->string('address_city', 100)->nullable(); $table->string('address_country', 100)->nullable(); diff --git a/database/migrations/2022_12_12_000001_create_import_maps_table.php b/database/migrations/2022_12_12_000001_create_import_maps_table.php index 27cbaab..600ed1d 100644 --- a/database/migrations/2022_12_12_000001_create_import_maps_table.php +++ b/database/migrations/2022_12_12_000001_create_import_maps_table.php @@ -24,10 +24,10 @@ public function up() $table->text('default_values')->nullable(); $table->boolean('has_header')->nullable()->default(true); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->string('is_published', 3)->nullable()->default('no'); - $table->index(['assigned_user_id', 'module', 'name', 'deleted_at'], 'idx_owner_module_name'); + $table->index(['assigned_to_id', 'module', 'name', 'deleted_at'], 'idx_owner_module_name'); $table->timestamps(); $table->softDeletes(); }); diff --git a/database/migrations/2022_12_12_000001_create_jjwg_address_cache_table.php b/database/migrations/2022_12_12_000001_create_jjwg_address_cache_table.php index 3f8b3f4..5ac4dba 100644 --- a/database/migrations/2022_12_12_000001_create_jjwg_address_cache_table.php +++ b/database/migrations/2022_12_12_000001_create_jjwg_address_cache_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->float('lat', 10, 8)->nullable(); $table->float('lng', 11, 8)->nullable(); $table->timestamps(); diff --git a/database/migrations/2022_12_12_000001_create_jjwg_areas_table.php b/database/migrations/2022_12_12_000001_create_jjwg_areas_table.php index 9966cb8..2fabb9d 100644 --- a/database/migrations/2022_12_12_000001_create_jjwg_areas_table.php +++ b/database/migrations/2022_12_12_000001_create_jjwg_areas_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->string('city')->nullable(); $table->string('state')->nullable(); $table->string('country')->nullable(); diff --git a/database/migrations/2022_12_12_000001_create_jjwg_maps_table.php b/database/migrations/2022_12_12_000001_create_jjwg_maps_table.php index c06282b..d9d9dc3 100644 --- a/database/migrations/2022_12_12_000001_create_jjwg_maps_table.php +++ b/database/migrations/2022_12_12_000001_create_jjwg_maps_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->float('distance', 9, 4)->nullable(); $table->string('unit_type', 100)->nullable()->default('mi'); $table->string('module_type', 100)->nullable()->default('Accounts'); diff --git a/database/migrations/2022_12_12_000001_create_jjwg_markers_table.php b/database/migrations/2022_12_12_000001_create_jjwg_markers_table.php index d184694..36eec88 100644 --- a/database/migrations/2022_12_12_000001_create_jjwg_markers_table.php +++ b/database/migrations/2022_12_12_000001_create_jjwg_markers_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->string('city')->nullable(); $table->string('state')->nullable(); $table->string('country')->nullable(); diff --git a/database/migrations/2022_12_12_000001_create_meetings_table.php b/database/migrations/2022_12_12_000001_create_meetings_table.php index 579745c..a25e472 100644 --- a/database/migrations/2022_12_12_000001_create_meetings_table.php +++ b/database/migrations/2022_12_12_000001_create_meetings_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->string('location', 50)->nullable(); $table->string('password', 50)->nullable(); $table->string('join_url', 200)->nullable(); @@ -51,7 +51,7 @@ public function up() $table->integer('gsync_lastsync')->nullable(); $table->index(['parent_id', 'parent_type', 'deleted_at'], 'idx_meet_par_del'); - $table->index(['assigned_user_id', 'status', 'deleted_at'], 'idx_meet_stat_del'); + $table->index(['assigned_to_id', 'status', 'deleted_at'], 'idx_meet_stat_del'); $table->timestamps(); $table->softDeletes(); }); diff --git a/database/migrations/2022_12_12_000001_create_oauth2clients_table.php b/database/migrations/2022_12_12_000001_create_oauth2clients_table.php index d399db1..2fe5564 100644 --- a/database/migrations/2022_12_12_000001_create_oauth2clients_table.php +++ b/database/migrations/2022_12_12_000001_create_oauth2clients_table.php @@ -27,7 +27,7 @@ public function up() $table->integer('duration_value')->nullable(); $table->integer('duration_amount')->nullable(); $table->string('duration_unit')->nullable()->default('Duration Unit'); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->timestamps(); $table->softDeletes(); }); diff --git a/database/migrations/2022_12_12_000001_create_oauth_consumer_table.php b/database/migrations/2022_12_12_000001_create_oauth_consumer_table.php index f8a09fd..6ad2eb2 100644 --- a/database/migrations/2022_12_12_000001_create_oauth_consumer_table.php +++ b/database/migrations/2022_12_12_000001_create_oauth_consumer_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->string('c_key')->nullable()->unique('ckey'); $table->string('c_secret')->nullable(); $table->timestamps(); diff --git a/database/migrations/2022_12_12_000001_create_oauth_tokens_table.php b/database/migrations/2022_12_12_000001_create_oauth_tokens_table.php index 6ecc6b5..86b5c79 100644 --- a/database/migrations/2022_12_12_000001_create_oauth_tokens_table.php +++ b/database/migrations/2022_12_12_000001_create_oauth_tokens_table.php @@ -22,7 +22,7 @@ public function up() $table->string('verify', 32)->nullable(); // $table->boolean('deleted')->default(false); $table->string('callback_url')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->index(['tstate', 'token_ts'], 'oauth_state_ts'); $table->primary(['id', 'deleted_at']); diff --git a/database/migrations/2022_12_12_000001_create_outbound_email_table.php b/database/migrations/2022_12_12_000001_create_outbound_email_table.php index 11785c7..ea40dd0 100644 --- a/database/migrations/2022_12_12_000001_create_outbound_email_table.php +++ b/database/migrations/2022_12_12_000001_create_outbound_email_table.php @@ -30,7 +30,7 @@ public function up() $table->string('mail_smtpssl', 1)->nullable()->default('0'); $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->timestamps(); $table->softDeletes(); }); diff --git a/database/migrations/2022_12_12_000001_create_project_table.php b/database/migrations/2022_12_12_000001_create_project_table.php index e5b2040..38b6ccc 100644 --- a/database/migrations/2022_12_12_000001_create_project_table.php +++ b/database/migrations/2022_12_12_000001_create_project_table.php @@ -16,7 +16,7 @@ public function up() Schema::create('project', function (Blueprint $table) { $table->comment(''); $table->uuid('id')->primary(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->string('name', 50)->nullable(); diff --git a/database/migrations/2022_12_12_000001_create_project_task_table.php b/database/migrations/2022_12_12_000001_create_project_task_table.php index 7db7d73..c1f644d 100644 --- a/database/migrations/2022_12_12_000001_create_project_task_table.php +++ b/database/migrations/2022_12_12_000001_create_project_task_table.php @@ -34,7 +34,7 @@ public function up() $table->date('date_due')->nullable(); $table->time('time_due')->nullable(); $table->integer('parent_task_id')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->string('priority')->nullable(); diff --git a/database/migrations/2022_12_12_000001_create_prospect_lists_table.php b/database/migrations/2022_12_12_000001_create_prospect_lists_table.php index 6cfced0..3fb0c05 100644 --- a/database/migrations/2022_12_12_000001_create_prospect_lists_table.php +++ b/database/migrations/2022_12_12_000001_create_prospect_lists_table.php @@ -15,7 +15,7 @@ public function up() { Schema::create('prospect_lists', function (Blueprint $table) { $table->comment(''); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->uuid('id')->primary(); $table->string('name')->nullable()->index('idx_prospect_list_name'); $table->string('list_type', 100)->nullable(); diff --git a/database/migrations/2022_12_12_000001_create_reminders_table.php b/database/migrations/2022_12_12_000001_create_reminders_table.php index fee68c8..b4b2006 100644 --- a/database/migrations/2022_12_12_000001_create_reminders_table.php +++ b/database/migrations/2022_12_12_000001_create_reminders_table.php @@ -20,7 +20,7 @@ public function up() $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); // $table->boolean('deleted')->nullable()->default(false)->index('idx_reminder_deleted'); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->boolean('popup')->nullable(); $table->boolean('email')->nullable(); $table->boolean('email_sent')->nullable(); diff --git a/database/migrations/2022_12_12_000001_create_saved_search_table.php b/database/migrations/2022_12_12_000001_create_saved_search_table.php index cf98bab..ceb315d 100644 --- a/database/migrations/2022_12_12_000001_create_saved_search_table.php +++ b/database/migrations/2022_12_12_000001_create_saved_search_table.php @@ -19,7 +19,7 @@ public function up() $table->string('name', 150)->nullable(); $table->string('search_module', 150)->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->text('contents')->nullable(); $table->text('description')->nullable(); diff --git a/database/migrations/2022_12_12_000001_create_securitygroups_table.php b/database/migrations/2022_12_12_000001_create_securitygroups_table.php index ca4bbca..e90e35b 100644 --- a/database/migrations/2022_12_12_000001_create_securitygroups_table.php +++ b/database/migrations/2022_12_12_000001_create_securitygroups_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->boolean('noninheritable')->nullable(); $table->timestamps(); $table->softDeletes(); diff --git a/database/migrations/2022_12_12_000001_create_spots_table.php b/database/migrations/2022_12_12_000001_create_spots_table.php index 3cd562e..0d7f2c0 100644 --- a/database/migrations/2022_12_12_000001_create_spots_table.php +++ b/database/migrations/2022_12_12_000001_create_spots_table.php @@ -20,7 +20,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->longText('config')->nullable(); $table->string('type')->nullable(); $table->timestamps(); diff --git a/database/migrations/2022_12_12_000001_create_surveys_table.php b/database/migrations/2022_12_12_000001_create_surveys_table.php index 1139464..c464685 100644 --- a/database/migrations/2022_12_12_000001_create_surveys_table.php +++ b/database/migrations/2022_12_12_000001_create_surveys_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->string('status', 100)->nullable()->default('Draft'); $table->string('submit_text')->nullable()->default('Submit'); $table->string('satisfied_text')->nullable()->default('Satisfied'); diff --git a/database/migrations/2022_12_12_000001_create_user_preferences_table.php b/database/migrations/2022_12_12_000001_create_user_preferences_table.php index 6160d6f..a046fb1 100644 --- a/database/migrations/2022_12_12_000001_create_user_preferences_table.php +++ b/database/migrations/2022_12_12_000001_create_user_preferences_table.php @@ -16,10 +16,10 @@ public function up() $table->comment(''); $table->uuid('id')->primary(); $table->string('category', 50)->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->longText('contents')->nullable(); - $table->index(['assigned_user_id', 'category'], 'idx_userprefnamecat'); + $table->index(['assigned_to_id', 'category'], 'idx_userprefnamecat'); $table->timestamps(); $table->softDeletes(); }); diff --git a/database/migrations/2022_12_12_000002_create_alerts_table.php b/database/migrations/2022_12_12_000002_create_alerts_table.php index abca1ec..cbeb16e 100644 --- a/database/migrations/2022_12_12_000002_create_alerts_table.php +++ b/database/migrations/2022_12_12_000002_create_alerts_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->boolean('is_read')->nullable(); $table->string('target_module')->nullable(); $table->string('type')->nullable(); diff --git a/database/migrations/2022_12_12_000002_create_aop_case_events_table.php b/database/migrations/2022_12_12_000002_create_aop_case_events_table.php index c88f5a1..e9d5204 100644 --- a/database/migrations/2022_12_12_000002_create_aop_case_events_table.php +++ b/database/migrations/2022_12_12_000002_create_aop_case_events_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->uuid('case_id')->nullable(); $table->timestamps(); $table->softDeletes(); diff --git a/database/migrations/2022_12_12_000002_create_aos_line_item_groups_table.php b/database/migrations/2022_12_12_000002_create_aos_line_item_groups_table.php index 227fc43..2d0b43a 100644 --- a/database/migrations/2022_12_12_000002_create_aos_line_item_groups_table.php +++ b/database/migrations/2022_12_12_000002_create_aos_line_item_groups_table.php @@ -20,7 +20,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->decimal('total_amt', 26, 6)->nullable(); $table->decimal('total_amt_usdollar', 26, 6)->nullable(); $table->decimal('discount_amount', 26, 6)->nullable(); diff --git a/database/migrations/2022_12_12_000002_create_calls_reschedule_table.php b/database/migrations/2022_12_12_000002_create_calls_reschedule_table.php index f8dfb1e..3ad60e9 100644 --- a/database/migrations/2022_12_12_000002_create_calls_reschedule_table.php +++ b/database/migrations/2022_12_12_000002_create_calls_reschedule_table.php @@ -20,7 +20,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->string('reason', 100)->nullable(); $table->uuid('call_id')->nullable(); $table->timestamps(); diff --git a/database/migrations/2022_12_12_000002_create_campaigns_table.php b/database/migrations/2022_12_12_000002_create_campaigns_table.php index 3e0e22f..943f1ce 100644 --- a/database/migrations/2022_12_12_000002_create_campaigns_table.php +++ b/database/migrations/2022_12_12_000002_create_campaigns_table.php @@ -18,7 +18,7 @@ public function up() $table->string('name')->nullable()->index('idx_campaign_name'); $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->integer('tracker_key')->index('camp_auto_tracker_key'); $table->integer('tracker_count')->nullable()->default(0); $table->string('refer_url')->nullable()->default('http://'); diff --git a/database/migrations/2022_12_12_000002_create_fp_events_table.php b/database/migrations/2022_12_12_000002_create_fp_events_table.php index d3ceed0..0756d73 100644 --- a/database/migrations/2022_12_12_000002_create_fp_events_table.php +++ b/database/migrations/2022_12_12_000002_create_fp_events_table.php @@ -20,7 +20,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->integer('duration_hours')->nullable(); $table->integer('duration_minutes')->nullable(); $table->dateTime('date_start')->nullable(); diff --git a/database/migrations/2022_12_12_000002_create_job_queue_table.php b/database/migrations/2022_12_12_000002_create_job_queue_table.php index 76cbd23..7d276de 100644 --- a/database/migrations/2022_12_12_000002_create_job_queue_table.php +++ b/database/migrations/2022_12_12_000002_create_job_queue_table.php @@ -14,7 +14,7 @@ public function up() { Schema::create('job_queue', function (Blueprint $table) { $table->comment(''); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->uuid('id')->primary(); $table->string('name')->nullable(); $table->uuid('scheduler_id')->nullable(); diff --git a/database/migrations/2022_12_12_000002_create_oauth2tokens_table.php b/database/migrations/2022_12_12_000002_create_oauth2tokens_table.php index 25076ad..31bfa02 100644 --- a/database/migrations/2022_12_12_000002_create_oauth2tokens_table.php +++ b/database/migrations/2022_12_12_000002_create_oauth2tokens_table.php @@ -28,7 +28,7 @@ public function up() $table->string('grant_type')->nullable(); $table->string('state', 1024)->nullable(); $table->uuid('client')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->timestamps(); $table->softDeletes(); }); diff --git a/database/migrations/2022_12_12_000002_create_reminders_invitees_table.php b/database/migrations/2022_12_12_000002_create_reminders_invitees_table.php index fc4e0c9..201dbc5 100644 --- a/database/migrations/2022_12_12_000002_create_reminders_invitees_table.php +++ b/database/migrations/2022_12_12_000002_create_reminders_invitees_table.php @@ -20,7 +20,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable()->index('idx_reminder_invitee_assigned_user_id'); + $table->uuid('assigned_to_id')->nullable()->index('idx_reminder_invitee_assigned_to_id'); $table->uuid('reminder_id')->index('idx_reminder_invitee_reminder_id'); $table->string('related_invitee_module', 32)->nullable()->index('idx_reminder_invitee_related_invitee_module'); $table->uuid('related_invitee_module_id')->index('idx_reminder_invitee_related_invitee_module_id'); diff --git a/database/migrations/2022_12_12_000002_create_surveyquestions_table.php b/database/migrations/2022_12_12_000002_create_surveyquestions_table.php index 6e99882..8076fec 100644 --- a/database/migrations/2022_12_12_000002_create_surveyquestions_table.php +++ b/database/migrations/2022_12_12_000002_create_surveyquestions_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->integer('sort_order')->nullable(); $table->string('type', 100)->nullable(); $table->boolean('happiness_question')->nullable(); diff --git a/database/migrations/2022_12_12_000003_create_accounts_table.php b/database/migrations/2022_12_12_000003_create_accounts_table.php index 3dc8c63..bc730ee 100644 --- a/database/migrations/2022_12_12_000003_create_accounts_table.php +++ b/database/migrations/2022_12_12_000003_create_accounts_table.php @@ -20,7 +20,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->string('account_type', 50)->nullable(); $table->string('industry', 50)->nullable(); $table->string('annual_revenue', 100)->nullable(); @@ -48,7 +48,7 @@ public function up() $table->timestamps(); $table->softDeletes(); - $table->index(['deleted_at', 'assigned_user_id'], 'idx_accnt_assigned_del'); + $table->index(['deleted_at', 'assigned_to_id'], 'idx_accnt_assigned_del'); $table->index(['id', 'deleted_at'], 'idx_accnt_id_del'); $table->index(['name', 'deleted_at'], 'idx_accnt_name_del'); }); diff --git a/database/migrations/2022_12_12_000003_create_contacts_table.php b/database/migrations/2022_12_12_000003_create_contacts_table.php index 56269dd..2efa3df 100644 --- a/database/migrations/2022_12_12_000003_create_contacts_table.php +++ b/database/migrations/2022_12_12_000003_create_contacts_table.php @@ -18,7 +18,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable()->index('idx_cont_assigned'); + $table->uuid('assigned_to_id')->nullable()->index('idx_cont_assigned'); $table->string('salutation')->nullable(); $table->string('first_name', 100)->nullable(); $table->string('last_name', 100)->nullable(); @@ -57,7 +57,7 @@ public function up() $table->index(['deleted_at', 'reports_to_id', 'last_name'], 'idx_cont_del_reports'); $table->index(['last_name', 'first_name', 'deleted_at'], 'idx_cont_last_first'); $table->index(['deleted_at', 'last_name'], 'idx_contacts_del_last'); - $table->index(['deleted_at', 'id', 'assigned_user_id'], 'idx_del_id_user'); + $table->index(['deleted_at', 'id', 'assigned_to_id'], 'idx_del_id_user'); $table->timestamps(); $table->softDeletes(); }); diff --git a/database/migrations/2022_12_12_000003_create_opportunities_table.php b/database/migrations/2022_12_12_000003_create_opportunities_table.php index 0005a83..322b526 100644 --- a/database/migrations/2022_12_12_000003_create_opportunities_table.php +++ b/database/migrations/2022_12_12_000003_create_opportunities_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable()->index('idx_opp_assigned'); + $table->uuid('assigned_to_id')->nullable()->index('idx_opp_assigned'); $table->string('opportunity_type')->nullable(); $table->uuid('campaign_id')->nullable(); $table->string('lead_source', 50)->nullable(); diff --git a/database/migrations/2022_12_12_000003_create_surveyquestionoptions_table.php b/database/migrations/2022_12_12_000003_create_surveyquestionoptions_table.php index 031d6bc..41e7425 100644 --- a/database/migrations/2022_12_12_000003_create_surveyquestionoptions_table.php +++ b/database/migrations/2022_12_12_000003_create_surveyquestionoptions_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->integer('sort_order')->nullable(); $table->uuid('survey_question_id')->nullable(); $table->timestamps(); diff --git a/database/migrations/2022_12_12_000004_create_aop_case_updates_table.php b/database/migrations/2022_12_12_000004_create_aop_case_updates_table.php index c7a6fc7..5745721 100644 --- a/database/migrations/2022_12_12_000004_create_aop_case_updates_table.php +++ b/database/migrations/2022_12_12_000004_create_aop_case_updates_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->uuid('case_id')->nullable(); $table->uuid('contact_id')->nullable(); $table->boolean('internal')->nullable(); diff --git a/database/migrations/2022_12_12_000004_create_aos_contracts_table.php b/database/migrations/2022_12_12_000004_create_aos_contracts_table.php index db9fa0a..fbf3a76 100644 --- a/database/migrations/2022_12_12_000004_create_aos_contracts_table.php +++ b/database/migrations/2022_12_12_000004_create_aos_contracts_table.php @@ -20,7 +20,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->string('reference_code')->nullable(); $table->date('start_date')->nullable(); $table->date('end_date')->nullable(); diff --git a/database/migrations/2022_12_12_000004_create_aos_invoices_table.php b/database/migrations/2022_12_12_000004_create_aos_invoices_table.php index 86d5f3d..aafd60a 100644 --- a/database/migrations/2022_12_12_000004_create_aos_invoices_table.php +++ b/database/migrations/2022_12_12_000004_create_aos_invoices_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->uuid('billing_account_id')->nullable(); $table->uuid('billing_contact_id')->nullable(); $table->string('billing_address_street', 150)->nullable(); diff --git a/database/migrations/2022_12_12_000004_create_aos_products_table.php b/database/migrations/2022_12_12_000004_create_aos_products_table.php index e4309bb..7214eec 100644 --- a/database/migrations/2022_12_12_000004_create_aos_products_table.php +++ b/database/migrations/2022_12_12_000004_create_aos_products_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->string('maincode', 100)->nullable()->default('XXXX'); $table->string('part_number', 25)->nullable(); $table->string('category', 100)->nullable(); diff --git a/database/migrations/2022_12_12_000004_create_aos_quotes_table.php b/database/migrations/2022_12_12_000004_create_aos_quotes_table.php index 4d218d7..1201cba 100644 --- a/database/migrations/2022_12_12_000004_create_aos_quotes_table.php +++ b/database/migrations/2022_12_12_000004_create_aos_quotes_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->text('approval_issue')->nullable(); $table->uuid('billing_account_id')->nullable(); $table->uuid('billing_contact_id')->nullable(); diff --git a/database/migrations/2022_12_12_000004_create_cases_table.php b/database/migrations/2022_12_12_000004_create_cases_table.php index 97544d3..b202f1f 100644 --- a/database/migrations/2022_12_12_000004_create_cases_table.php +++ b/database/migrations/2022_12_12_000004_create_cases_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->integer('case_number')->index('case_number'); $table->string('type')->nullable(); $table->string('status', 100)->nullable(); @@ -31,7 +31,7 @@ public function up() $table->uuid('contact_created_by_id')->nullable(); $table->unique(['case_number'], 'casesnumk'); - $table->index(['assigned_user_id', 'status', 'deleted_at'], 'idx_cases_stat_del'); + $table->index(['assigned_to_id', 'status', 'deleted_at'], 'idx_cases_stat_del'); $table->timestamps(); $table->softDeletes(); }); diff --git a/database/migrations/2022_12_12_000004_create_leads_table.php b/database/migrations/2022_12_12_000004_create_leads_table.php index 3ddb8ca..174cef0 100644 --- a/database/migrations/2022_12_12_000004_create_leads_table.php +++ b/database/migrations/2022_12_12_000004_create_leads_table.php @@ -18,7 +18,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable()->index('idx_lead_assigned'); + $table->uuid('assigned_to_id')->nullable()->index('idx_lead_assigned'); $table->string('salutation')->nullable(); $table->string('first_name', 100)->nullable(); $table->string('last_name', 100)->nullable(); @@ -70,7 +70,7 @@ public function up() $table->index(['last_name', 'status', 'deleted_at', 'first_name'], 'idx_lead_del_stat'); $table->index(['id', 'deleted_at'], 'idx_leads_id_del'); $table->index(['last_name', 'first_name', 'deleted_at'], 'idx_lead_last_first'); - $table->index(['deleted_at', 'assigned_user_id'], 'idx_del_user'); + $table->index(['deleted_at', 'assigned_to_id'], 'idx_del_user'); $table->index(['account_id', 'deleted_at'], 'idx_leads_acct_del'); $table->index(['opportunity_id', 'deleted_at'], 'idx_lead_opp_del'); $table->timestamps(); diff --git a/database/migrations/2022_12_12_000004_create_notes_table.php b/database/migrations/2022_12_12_000004_create_notes_table.php index 9ad4cf3..a3220f1 100644 --- a/database/migrations/2022_12_12_000004_create_notes_table.php +++ b/database/migrations/2022_12_12_000004_create_notes_table.php @@ -14,7 +14,7 @@ public function up() { Schema::create('notes', function (Blueprint $table) { $table->comment(''); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->uuid('id')->primary(); $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); @@ -28,7 +28,7 @@ public function up() $table->boolean('embed_flag')->nullable()->default(false); $table->text('description')->nullable(); - $table->index(['deleted_at', 'assigned_user_id'], 'idx_notes_assigned_del'); + $table->index(['deleted_at', 'assigned_to_id'], 'idx_notes_assigned_del'); $table->index(['parent_id', 'parent_type'], 'idx_notes_parent'); $table->timestamps(); $table->softDeletes(); diff --git a/database/migrations/2022_12_12_000004_create_surveyresponses_table.php b/database/migrations/2022_12_12_000004_create_surveyresponses_table.php index 9eee0e4..8cfb57e 100644 --- a/database/migrations/2022_12_12_000004_create_surveyresponses_table.php +++ b/database/migrations/2022_12_12_000004_create_surveyresponses_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->integer('happiness')->nullable(); $table->boolean('email_response_sent')->nullable(); $table->uuid('account_id')->nullable(); diff --git a/database/migrations/2022_12_12_000004_create_tasks_table.php b/database/migrations/2022_12_12_000004_create_tasks_table.php index 2595e18..d90c623 100644 --- a/database/migrations/2022_12_12_000004_create_tasks_table.php +++ b/database/migrations/2022_12_12_000004_create_tasks_table.php @@ -20,7 +20,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable()->index('idx_task_assigned'); + $table->uuid('assigned_to_id')->nullable()->index('idx_task_assigned'); $table->string('status', 100)->nullable()->default('Not Started')->index('idx_task_status'); $table->boolean('date_due_flag')->nullable()->default(false); $table->dateTime('date_due')->nullable(); diff --git a/database/migrations/2022_12_12_000005_create_aos_products_quotes_table.php b/database/migrations/2022_12_12_000005_create_aos_products_quotes_table.php index d1e1d98..1bda664 100644 --- a/database/migrations/2022_12_12_000005_create_aos_products_quotes_table.php +++ b/database/migrations/2022_12_12_000005_create_aos_products_quotes_table.php @@ -20,7 +20,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->uuid('currency_id')->nullable(); $table->string('part_number')->nullable(); $table->text('item_description')->nullable(); diff --git a/database/migrations/2022_12_12_000005_create_prospects_table.php b/database/migrations/2022_12_12_000005_create_prospects_table.php index 81dc23b..980a3e7 100644 --- a/database/migrations/2022_12_12_000005_create_prospects_table.php +++ b/database/migrations/2022_12_12_000005_create_prospects_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable()->index('idx_prospects_assigned'); + $table->uuid('assigned_to_id')->nullable()->index('idx_prospects_assigned'); $table->string('salutation')->nullable(); $table->string('first_name', 100)->nullable(); $table->string('last_name', 100)->nullable(); diff --git a/database/migrations/2022_12_12_000005_create_surveyquestionresponses_table.php b/database/migrations/2022_12_12_000005_create_surveyquestionresponses_table.php index a0f4cb2..1a17714 100644 --- a/database/migrations/2022_12_12_000005_create_surveyquestionresponses_table.php +++ b/database/migrations/2022_12_12_000005_create_surveyquestionresponses_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->text('answer')->nullable(); $table->boolean('answer_bool')->nullable(); $table->dateTime('answer_datetime')->nullable(); diff --git a/database/migrations/2022_12_12_000006_create_aod_indexevent_table.php b/database/migrations/2022_12_12_000006_create_aod_indexevent_table.php index e8ef279..4d69947 100644 --- a/database/migrations/2022_12_12_000006_create_aod_indexevent_table.php +++ b/database/migrations/2022_12_12_000006_create_aod_indexevent_table.php @@ -20,7 +20,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->string('error')->nullable(); $table->boolean('success')->nullable()->default(false); $table->uuid('record_id')->nullable()->index('idx_record_id'); diff --git a/database/migrations/2022_12_12_000006_create_sugarfeed_table.php b/database/migrations/2022_12_12_000006_create_sugarfeed_table.php index a18b9e6..ba90c73 100644 --- a/database/migrations/2022_12_12_000006_create_sugarfeed_table.php +++ b/database/migrations/2022_12_12_000006_create_sugarfeed_table.php @@ -19,7 +19,7 @@ public function up() $table->uuid('modified_by_id')->nullable(); $table->uuid('created_by_id')->nullable(); $table->text('description')->nullable(); - $table->uuid('assigned_user_id')->nullable(); + $table->uuid('assigned_to_id')->nullable(); $table->string('related_module', 100)->nullable(); $table->uuid('related_id')->nullable(); $table->string('link_url')->nullable(); diff --git a/database/migrations/2022_12_12_000006_create_users_last_import_table.php b/database/migrations/2022_12_12_000006_create_users_last_import_table.php index f900b6c..fca8699 100644 --- a/database/migrations/2022_12_12_000006_create_users_last_import_table.php +++ b/database/migrations/2022_12_12_000006_create_users_last_import_table.php @@ -15,7 +15,7 @@ public function up() Schema::create('users_last_import', function (Blueprint $table) { $table->comment(''); $table->uuid('id')->primary(); - $table->uuid('assigned_user_id')->nullable()->index('idx_user_id'); + $table->uuid('assigned_to_id')->nullable()->index('idx_user_id'); $table->uuid('import_module')->nullable(); $table->uuid('bean_type')->nullable(); $table->uuid('bean_id')->nullable(); diff --git a/database/seeders/Account/DataRowsTableSeeder.php b/database/seeders/Account/DataRowsTableSeeder.php index 6b61138..4ed1ca9 100644 --- a/database/seeders/Account/DataRowsTableSeeder.php +++ b/database/seeders/Account/DataRowsTableSeeder.php @@ -588,11 +588,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'account_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'account_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -604,7 +604,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -613,11 +613,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Alert/DataRowsTableSeeder.php b/database/seeders/Alert/DataRowsTableSeeder.php index e688443..b217146 100644 --- a/database/seeders/Alert/DataRowsTableSeeder.php +++ b/database/seeders/Alert/DataRowsTableSeeder.php @@ -169,11 +169,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'alert_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'alert_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -185,7 +185,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -194,11 +194,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AmProjecttemplate/DataRowsTableSeeder.php b/database/seeders/AmProjecttemplate/DataRowsTableSeeder.php index 2571d34..72add4b 100644 --- a/database/seeders/AmProjecttemplate/DataRowsTableSeeder.php +++ b/database/seeders/AmProjecttemplate/DataRowsTableSeeder.php @@ -123,11 +123,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'am_projecttemplate_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'am_projecttemplate_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -139,7 +139,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -148,11 +148,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AmTasktemplate/DataRowsTableSeeder.php b/database/seeders/AmTasktemplate/DataRowsTableSeeder.php index 532263f..d8b3d74 100644 --- a/database/seeders/AmTasktemplate/DataRowsTableSeeder.php +++ b/database/seeders/AmTasktemplate/DataRowsTableSeeder.php @@ -250,11 +250,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'am_tasktemplate_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'am_tasktemplate_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -266,7 +266,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -275,11 +275,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AobhBusinesshour/DataRowsTableSeeder.php b/database/seeders/AobhBusinesshour/DataRowsTableSeeder.php index 3020976..a0133b0 100644 --- a/database/seeders/AobhBusinesshour/DataRowsTableSeeder.php +++ b/database/seeders/AobhBusinesshour/DataRowsTableSeeder.php @@ -133,11 +133,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'aobh_businesshour_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'aobh_businesshour_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -149,7 +149,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -158,11 +158,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AodIndex/DataRowsTableSeeder.php b/database/seeders/AodIndex/DataRowsTableSeeder.php index d944b94..1a9342e 100644 --- a/database/seeders/AodIndex/DataRowsTableSeeder.php +++ b/database/seeders/AodIndex/DataRowsTableSeeder.php @@ -91,11 +91,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'aod_index_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'aod_index_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -107,7 +107,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -116,11 +116,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AodIndexevent/DataRowsTableSeeder.php b/database/seeders/AodIndexevent/DataRowsTableSeeder.php index ac28538..33658bb 100644 --- a/database/seeders/AodIndexevent/DataRowsTableSeeder.php +++ b/database/seeders/AodIndexevent/DataRowsTableSeeder.php @@ -251,11 +251,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'aod_indexevent_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'aod_indexevent_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -267,7 +267,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -276,11 +276,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AokKnowledgebase/DataRowsTableSeeder.php b/database/seeders/AokKnowledgebase/DataRowsTableSeeder.php index f4e6a4c..37df58f 100644 --- a/database/seeders/AokKnowledgebase/DataRowsTableSeeder.php +++ b/database/seeders/AokKnowledgebase/DataRowsTableSeeder.php @@ -200,11 +200,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'aok_knowledgebase_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'aok_knowledgebase_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -216,7 +216,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -225,11 +225,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AokKnowledgebaseBaseCategory/DataRowsTableSeeder.php b/database/seeders/AokKnowledgebaseBaseCategory/DataRowsTableSeeder.php index 4bbfe71..1ed3e4d 100644 --- a/database/seeders/AokKnowledgebaseBaseCategory/DataRowsTableSeeder.php +++ b/database/seeders/AokKnowledgebaseBaseCategory/DataRowsTableSeeder.php @@ -61,11 +61,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'aok_knowledgebase_base_category_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'aok_knowledgebase_base_category_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -77,7 +77,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -86,11 +86,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AopCaseEvent/DataRowsTableSeeder.php b/database/seeders/AopCaseEvent/DataRowsTableSeeder.php index 7ad86cd..a742653 100644 --- a/database/seeders/AopCaseEvent/DataRowsTableSeeder.php +++ b/database/seeders/AopCaseEvent/DataRowsTableSeeder.php @@ -101,11 +101,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'aop_case_event_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'aop_case_event_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -117,7 +117,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -126,11 +126,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AopCaseUpdate/DataRowsTableSeeder.php b/database/seeders/AopCaseUpdate/DataRowsTableSeeder.php index 08f8bfc..350b1ff 100644 --- a/database/seeders/AopCaseUpdate/DataRowsTableSeeder.php +++ b/database/seeders/AopCaseUpdate/DataRowsTableSeeder.php @@ -156,11 +156,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'aop_case_update_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'aop_case_update_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -172,7 +172,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -181,11 +181,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AorCondition/DataRowsTableSeeder.php b/database/seeders/AorCondition/DataRowsTableSeeder.php index a03f943..758b228 100644 --- a/database/seeders/AorCondition/DataRowsTableSeeder.php +++ b/database/seeders/AorCondition/DataRowsTableSeeder.php @@ -276,11 +276,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'aor_condition_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'aor_condition_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -292,7 +292,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -301,11 +301,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AorReport/DataRowsTableSeeder.php b/database/seeders/AorReport/DataRowsTableSeeder.php index e033b91..6d04781 100644 --- a/database/seeders/AorReport/DataRowsTableSeeder.php +++ b/database/seeders/AorReport/DataRowsTableSeeder.php @@ -99,11 +99,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'aor_report_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'aor_report_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -115,7 +115,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -124,11 +124,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AorScheduledReport/DataRowsTableSeeder.php b/database/seeders/AorScheduledReport/DataRowsTableSeeder.php index 8df1837..3dc46f5 100644 --- a/database/seeders/AorScheduledReport/DataRowsTableSeeder.php +++ b/database/seeders/AorScheduledReport/DataRowsTableSeeder.php @@ -167,11 +167,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'aor_scheduled_report_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'aor_scheduled_report_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -183,7 +183,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -192,11 +192,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AosContract/DataRowsTableSeeder.php b/database/seeders/AosContract/DataRowsTableSeeder.php index 1ba2734..0b1d366 100644 --- a/database/seeders/AosContract/DataRowsTableSeeder.php +++ b/database/seeders/AosContract/DataRowsTableSeeder.php @@ -664,11 +664,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'aos_contract_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'aos_contract_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -680,7 +680,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -689,11 +689,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AosInvoice/DataRowsTableSeeder.php b/database/seeders/AosInvoice/DataRowsTableSeeder.php index 97da559..e12d3e9 100644 --- a/database/seeders/AosInvoice/DataRowsTableSeeder.php +++ b/database/seeders/AosInvoice/DataRowsTableSeeder.php @@ -697,11 +697,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'aos_invoice_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'aos_invoice_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -713,7 +713,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -722,11 +722,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AosLineItemGroup/DataRowsTableSeeder.php b/database/seeders/AosLineItemGroup/DataRowsTableSeeder.php index 00fd587..8e0cd83 100644 --- a/database/seeders/AosLineItemGroup/DataRowsTableSeeder.php +++ b/database/seeders/AosLineItemGroup/DataRowsTableSeeder.php @@ -375,11 +375,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'aos_line_item_group_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'aos_line_item_group_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -391,7 +391,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -400,11 +400,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AosPdfTemplate/DataRowsTableSeeder.php b/database/seeders/AosPdfTemplate/DataRowsTableSeeder.php index 6bc16f8..19c30ad 100644 --- a/database/seeders/AosPdfTemplate/DataRowsTableSeeder.php +++ b/database/seeders/AosPdfTemplate/DataRowsTableSeeder.php @@ -258,11 +258,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'aos_pdf_template_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'aos_pdf_template_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -274,7 +274,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -283,11 +283,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AosProduct/DataRowsTableSeeder.php b/database/seeders/AosProduct/DataRowsTableSeeder.php index d4f7739..0686dc3 100644 --- a/database/seeders/AosProduct/DataRowsTableSeeder.php +++ b/database/seeders/AosProduct/DataRowsTableSeeder.php @@ -364,11 +364,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'aos_product_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'aos_product_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -380,7 +380,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -389,11 +389,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AosProductCategory/DataRowsTableSeeder.php b/database/seeders/AosProductCategory/DataRowsTableSeeder.php index ab2e06b..6adc18f 100644 --- a/database/seeders/AosProductCategory/DataRowsTableSeeder.php +++ b/database/seeders/AosProductCategory/DataRowsTableSeeder.php @@ -116,11 +116,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'aos_product_category_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'aos_product_category_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -132,7 +132,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -141,11 +141,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AosProductsQuote/DataRowsTableSeeder.php b/database/seeders/AosProductsQuote/DataRowsTableSeeder.php index d279761..855ebe1 100644 --- a/database/seeders/AosProductsQuote/DataRowsTableSeeder.php +++ b/database/seeders/AosProductsQuote/DataRowsTableSeeder.php @@ -641,11 +641,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'aos_products_quote_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'aos_products_quote_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -657,7 +657,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -666,11 +666,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AosQuote/DataRowsTableSeeder.php b/database/seeders/AosQuote/DataRowsTableSeeder.php index 864a149..ec7878a 100644 --- a/database/seeders/AosQuote/DataRowsTableSeeder.php +++ b/database/seeders/AosQuote/DataRowsTableSeeder.php @@ -796,11 +796,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'aos_quote_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'aos_quote_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -812,7 +812,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -821,11 +821,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AosSample/DataRowsTableSeeder.php.stub b/database/seeders/AosSample/DataRowsTableSeeder.php.stub index 120901f..f10d56e 100644 --- a/database/seeders/AosSample/DataRowsTableSeeder.php.stub +++ b/database/seeders/AosSample/DataRowsTableSeeder.php.stub @@ -63,11 +63,11 @@ class DataRowsTableSeeder extends Seeder // - $dataRow = $this->dataRow($dataType, 'aos_sample_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'aos_sample_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -79,7 +79,7 @@ class DataRowsTableSeeder extends Seeder 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -88,11 +88,11 @@ class DataRowsTableSeeder extends Seeder ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/AowWorkflow/DataRowsTableSeeder.php b/database/seeders/AowWorkflow/DataRowsTableSeeder.php index faaa8d6..40ae1e1 100644 --- a/database/seeders/AowWorkflow/DataRowsTableSeeder.php +++ b/database/seeders/AowWorkflow/DataRowsTableSeeder.php @@ -181,11 +181,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'aow_workflow_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'aow_workflow_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -197,7 +197,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -206,11 +206,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Bug/DataRowsTableSeeder.php b/database/seeders/Bug/DataRowsTableSeeder.php index 66bb35b..14cac0f 100644 --- a/database/seeders/Bug/DataRowsTableSeeder.php +++ b/database/seeders/Bug/DataRowsTableSeeder.php @@ -342,11 +342,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'bug_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'bug_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -358,7 +358,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -367,11 +367,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Call/DataRowsTableSeeder.php b/database/seeders/Call/DataRowsTableSeeder.php index ae9414d..fa340d6 100644 --- a/database/seeders/Call/DataRowsTableSeeder.php +++ b/database/seeders/Call/DataRowsTableSeeder.php @@ -544,11 +544,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'call_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'call_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -560,7 +560,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -569,11 +569,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/CallsReschedule/DataRowsTableSeeder.php b/database/seeders/CallsReschedule/DataRowsTableSeeder.php index e204edd..3835a0f 100644 --- a/database/seeders/CallsReschedule/DataRowsTableSeeder.php +++ b/database/seeders/CallsReschedule/DataRowsTableSeeder.php @@ -116,11 +116,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'calls_reschedule_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'calls_reschedule_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -132,7 +132,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -141,11 +141,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Campaign/DataRowsTableSeeder.php b/database/seeders/Campaign/DataRowsTableSeeder.php index 908c379..e6c8e2c 100644 --- a/database/seeders/Campaign/DataRowsTableSeeder.php +++ b/database/seeders/Campaign/DataRowsTableSeeder.php @@ -387,11 +387,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'campaign_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'campaign_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -403,7 +403,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -412,11 +412,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Contact/DataRowsTableSeeder.php b/database/seeders/Contact/DataRowsTableSeeder.php index 3f2d311..1dcb546 100644 --- a/database/seeders/Contact/DataRowsTableSeeder.php +++ b/database/seeders/Contact/DataRowsTableSeeder.php @@ -670,11 +670,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'contact_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'contact_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -686,7 +686,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -695,11 +695,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/CrmCase/DataRowsTableSeeder.php b/database/seeders/CrmCase/DataRowsTableSeeder.php index f06a2cf..1e86c7d 100644 --- a/database/seeders/CrmCase/DataRowsTableSeeder.php +++ b/database/seeders/CrmCase/DataRowsTableSeeder.php @@ -307,11 +307,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'case_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'case_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -323,7 +323,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -332,11 +332,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Document/DataRowsTableSeeder.php b/database/seeders/Document/DataRowsTableSeeder.php index 37cc73f..515110c 100644 --- a/database/seeders/Document/DataRowsTableSeeder.php +++ b/database/seeders/Document/DataRowsTableSeeder.php @@ -514,11 +514,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'document_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'document_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -530,7 +530,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -539,11 +539,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Eapm/DataRowsTableSeeder.php b/database/seeders/Eapm/DataRowsTableSeeder.php index 2f6180e..72ff2a9 100644 --- a/database/seeders/Eapm/DataRowsTableSeeder.php +++ b/database/seeders/Eapm/DataRowsTableSeeder.php @@ -196,11 +196,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'eapm_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'eapm_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -212,7 +212,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -221,11 +221,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Email/DataRowsTableSeeder.php b/database/seeders/Email/DataRowsTableSeeder.php index bafc3d8..185db98 100644 --- a/database/seeders/Email/DataRowsTableSeeder.php +++ b/database/seeders/Email/DataRowsTableSeeder.php @@ -402,11 +402,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'email_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'email_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -418,7 +418,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -427,11 +427,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/EmailCache/DataRowsTableSeeder.php b/database/seeders/EmailCache/DataRowsTableSeeder.php index edf39fd..04477f0 100644 --- a/database/seeders/EmailCache/DataRowsTableSeeder.php +++ b/database/seeders/EmailCache/DataRowsTableSeeder.php @@ -241,11 +241,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'email_cache_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'email_cache_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -257,7 +257,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -266,11 +266,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/EmailTemplate/DataRowsTableSeeder.php b/database/seeders/EmailTemplate/DataRowsTableSeeder.php index 66246fa..6c436ed 100644 --- a/database/seeders/EmailTemplate/DataRowsTableSeeder.php +++ b/database/seeders/EmailTemplate/DataRowsTableSeeder.php @@ -166,11 +166,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'email_template_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'email_template_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -182,7 +182,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -191,11 +191,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Favorite/DataRowsTableSeeder.php b/database/seeders/Favorite/DataRowsTableSeeder.php index 4b329b0..02126f7 100644 --- a/database/seeders/Favorite/DataRowsTableSeeder.php +++ b/database/seeders/Favorite/DataRowsTableSeeder.php @@ -221,11 +221,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'favorite_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'favorite_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -237,7 +237,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -246,11 +246,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Folder/DataRowsTableSeeder.php b/database/seeders/Folder/DataRowsTableSeeder.php index d5ec743..4e77fe3 100644 --- a/database/seeders/Folder/DataRowsTableSeeder.php +++ b/database/seeders/Folder/DataRowsTableSeeder.php @@ -169,11 +169,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'folder_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'folder_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -185,7 +185,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -194,11 +194,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/FpEvent/DataRowsTableSeeder.php b/database/seeders/FpEvent/DataRowsTableSeeder.php index 9cd9923..8b18a0f 100644 --- a/database/seeders/FpEvent/DataRowsTableSeeder.php +++ b/database/seeders/FpEvent/DataRowsTableSeeder.php @@ -243,11 +243,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'fp_event_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'fp_event_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -259,7 +259,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -268,11 +268,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/FpEventLocation/DataRowsTableSeeder.php b/database/seeders/FpEventLocation/DataRowsTableSeeder.php index 3e014c3..9c6d80e 100644 --- a/database/seeders/FpEventLocation/DataRowsTableSeeder.php +++ b/database/seeders/FpEventLocation/DataRowsTableSeeder.php @@ -151,11 +151,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'fp_event_location_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'fp_event_location_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -167,7 +167,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -176,11 +176,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/ImportMap/DataRowsTableSeeder.php b/database/seeders/ImportMap/DataRowsTableSeeder.php index 98f5bc0..0ac3b0e 100644 --- a/database/seeders/ImportMap/DataRowsTableSeeder.php +++ b/database/seeders/ImportMap/DataRowsTableSeeder.php @@ -172,11 +172,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'import_map_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'import_map_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -188,7 +188,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -197,11 +197,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/JjwgAddressCache/DataRowsTableSeeder.php b/database/seeders/JjwgAddressCache/DataRowsTableSeeder.php index c007dfe..11d13bc 100644 --- a/database/seeders/JjwgAddressCache/DataRowsTableSeeder.php +++ b/database/seeders/JjwgAddressCache/DataRowsTableSeeder.php @@ -90,11 +90,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'jjwg_address_cache_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'jjwg_address_cache_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -106,7 +106,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -115,11 +115,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/JjwgArea/DataRowsTableSeeder.php b/database/seeders/JjwgArea/DataRowsTableSeeder.php index 080ad6c..633289d 100644 --- a/database/seeders/JjwgArea/DataRowsTableSeeder.php +++ b/database/seeders/JjwgArea/DataRowsTableSeeder.php @@ -121,11 +121,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'jjwg_area_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'jjwg_area_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -137,7 +137,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -146,11 +146,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/JjwgMap/DataRowsTableSeeder.php b/database/seeders/JjwgMap/DataRowsTableSeeder.php index a716f7f..2446dff 100644 --- a/database/seeders/JjwgMap/DataRowsTableSeeder.php +++ b/database/seeders/JjwgMap/DataRowsTableSeeder.php @@ -273,11 +273,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/JjwgMarker/DataRowsTableSeeder.php b/database/seeders/JjwgMarker/DataRowsTableSeeder.php index f5ba7d7..7568d4e 100644 --- a/database/seeders/JjwgMarker/DataRowsTableSeeder.php +++ b/database/seeders/JjwgMarker/DataRowsTableSeeder.php @@ -151,11 +151,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'jjwg_marker_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'jjwg_marker_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -167,7 +167,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -176,11 +176,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/JobQueue/DataRowsTableSeeder.php b/database/seeders/JobQueue/DataRowsTableSeeder.php index c3c42fc..3119684 100644 --- a/database/seeders/JobQueue/DataRowsTableSeeder.php +++ b/database/seeders/JobQueue/DataRowsTableSeeder.php @@ -282,11 +282,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'job_queue_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'job_queue_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -298,7 +298,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -307,11 +307,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Lead/DataRowsTableSeeder.php b/database/seeders/Lead/DataRowsTableSeeder.php index 97e1d3f..770d0be 100644 --- a/database/seeders/Lead/DataRowsTableSeeder.php +++ b/database/seeders/Lead/DataRowsTableSeeder.php @@ -956,11 +956,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'lead_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'lead_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -972,7 +972,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -981,11 +981,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Meeting/DataRowsTableSeeder.php b/database/seeders/Meeting/DataRowsTableSeeder.php index 91852f3..497b760 100644 --- a/database/seeders/Meeting/DataRowsTableSeeder.php +++ b/database/seeders/Meeting/DataRowsTableSeeder.php @@ -694,11 +694,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'meeting_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'meeting_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -710,7 +710,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -719,11 +719,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Note/DataRowsTableSeeder.php b/database/seeders/Note/DataRowsTableSeeder.php index 359d820..4f949b8 100644 --- a/database/seeders/Note/DataRowsTableSeeder.php +++ b/database/seeders/Note/DataRowsTableSeeder.php @@ -348,11 +348,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'note_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'note_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -364,7 +364,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -373,11 +373,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Opportunity/DataRowsTableSeeder.php b/database/seeders/Opportunity/DataRowsTableSeeder.php index 38c01f7..e6312c8 100644 --- a/database/seeders/Opportunity/DataRowsTableSeeder.php +++ b/database/seeders/Opportunity/DataRowsTableSeeder.php @@ -345,11 +345,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'opportunity_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'opportunity_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -361,7 +361,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -370,11 +370,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/OutboundEmail/DataRowsTableSeeder.php b/database/seeders/OutboundEmail/DataRowsTableSeeder.php index d45bd1a..8b09cd8 100644 --- a/database/seeders/OutboundEmail/DataRowsTableSeeder.php +++ b/database/seeders/OutboundEmail/DataRowsTableSeeder.php @@ -224,11 +224,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'outbound_email_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'outbound_email_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -240,7 +240,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -249,11 +249,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Project/DataRowsTableSeeder.php b/database/seeders/Project/DataRowsTableSeeder.php index 941bbc1..de40052 100644 --- a/database/seeders/Project/DataRowsTableSeeder.php +++ b/database/seeders/Project/DataRowsTableSeeder.php @@ -223,7 +223,7 @@ public function run() 'type' => 'belongsToMany', 'column' => 'id', 'key' => 'id', - 'label' => 'first_name', + 'label' => 'name', 'pivot_table' => 'projects_contacts', 'pivot' => '1', 'taggable' => '0', @@ -313,11 +313,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'project_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'project_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -329,7 +329,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -338,11 +338,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/ProjectTask/DataRowsTableSeeder.php b/database/seeders/ProjectTask/DataRowsTableSeeder.php index 7ad0f4a..4f8bc21 100644 --- a/database/seeders/ProjectTask/DataRowsTableSeeder.php +++ b/database/seeders/ProjectTask/DataRowsTableSeeder.php @@ -432,11 +432,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'project_task_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'project_task_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -448,7 +448,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -457,11 +457,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Prospect/DataRowsTableSeeder.php b/database/seeders/Prospect/DataRowsTableSeeder.php index c50d2ed..1a88891 100644 --- a/database/seeders/Prospect/DataRowsTableSeeder.php +++ b/database/seeders/Prospect/DataRowsTableSeeder.php @@ -587,11 +587,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'prospect_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'prospect_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -603,7 +603,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -612,11 +612,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/ProspectList/DataRowsTableSeeder.php b/database/seeders/ProspectList/DataRowsTableSeeder.php index 8a2e9df..93d9591 100644 --- a/database/seeders/ProspectList/DataRowsTableSeeder.php +++ b/database/seeders/ProspectList/DataRowsTableSeeder.php @@ -152,11 +152,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'prospect_list_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'prospect_list_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -168,7 +168,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -177,11 +177,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Reminder/DataRowsTableSeeder.php b/database/seeders/Reminder/DataRowsTableSeeder.php index 56a23af..8eb2d8c 100644 --- a/database/seeders/Reminder/DataRowsTableSeeder.php +++ b/database/seeders/Reminder/DataRowsTableSeeder.php @@ -196,11 +196,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'reminder_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'reminder_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -212,7 +212,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -221,11 +221,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/RemindersInvitee/DataRowsTableSeeder.php b/database/seeders/RemindersInvitee/DataRowsTableSeeder.php index e928132..72abd9c 100644 --- a/database/seeders/RemindersInvitee/DataRowsTableSeeder.php +++ b/database/seeders/RemindersInvitee/DataRowsTableSeeder.php @@ -138,11 +138,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'reminders_invitee_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'reminders_invitee_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -154,7 +154,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -163,11 +163,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/SavedSearch/DataRowsTableSeeder.php b/database/seeders/SavedSearch/DataRowsTableSeeder.php index 831eb54..fce4ad8 100644 --- a/database/seeders/SavedSearch/DataRowsTableSeeder.php +++ b/database/seeders/SavedSearch/DataRowsTableSeeder.php @@ -98,11 +98,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'saved_search_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'saved_search_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -114,7 +114,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -123,11 +123,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Scheduler/DataRowsTableSeeder.php b/database/seeders/Scheduler/DataRowsTableSeeder.php index 9d932e3..398d8fe 100644 --- a/database/seeders/Scheduler/DataRowsTableSeeder.php +++ b/database/seeders/Scheduler/DataRowsTableSeeder.php @@ -187,11 +187,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'scheduler_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'scheduler_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -203,7 +203,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -212,11 +212,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Securitygroup/DataRowsTableSeeder.php b/database/seeders/Securitygroup/DataRowsTableSeeder.php index 2d01b92..b405462 100644 --- a/database/seeders/Securitygroup/DataRowsTableSeeder.php +++ b/database/seeders/Securitygroup/DataRowsTableSeeder.php @@ -75,11 +75,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'securitygroup_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'securitygroup_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -91,7 +91,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -100,11 +100,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Spot/DataRowsTableSeeder.php b/database/seeders/Spot/DataRowsTableSeeder.php index 63049e3..879c587 100644 --- a/database/seeders/Spot/DataRowsTableSeeder.php +++ b/database/seeders/Spot/DataRowsTableSeeder.php @@ -103,11 +103,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'spot_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'spot_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -119,7 +119,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -128,11 +128,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Sugarfeed/DataRowsTableSeeder.php b/database/seeders/Sugarfeed/DataRowsTableSeeder.php index b54480c..e1522e9 100644 --- a/database/seeders/Sugarfeed/DataRowsTableSeeder.php +++ b/database/seeders/Sugarfeed/DataRowsTableSeeder.php @@ -183,11 +183,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'sugarfeed_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'sugarfeed_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -199,7 +199,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -208,11 +208,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Survey/DataRowsTableSeeder.php b/database/seeders/Survey/DataRowsTableSeeder.php index 4723d7d..a81a5a3 100644 --- a/database/seeders/Survey/DataRowsTableSeeder.php +++ b/database/seeders/Survey/DataRowsTableSeeder.php @@ -143,11 +143,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'survey_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'survey_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -159,7 +159,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -168,11 +168,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Surveyquestion/DataRowsTableSeeder.php b/database/seeders/Surveyquestion/DataRowsTableSeeder.php index e34c14d..f5c247e 100644 --- a/database/seeders/Surveyquestion/DataRowsTableSeeder.php +++ b/database/seeders/Surveyquestion/DataRowsTableSeeder.php @@ -161,11 +161,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'surveyquestion_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'surveyquestion_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -177,7 +177,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -186,11 +186,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Surveyquestionoption/DataRowsTableSeeder.php b/database/seeders/Surveyquestionoption/DataRowsTableSeeder.php index caa31aa..fe9f02a 100644 --- a/database/seeders/Surveyquestionoption/DataRowsTableSeeder.php +++ b/database/seeders/Surveyquestionoption/DataRowsTableSeeder.php @@ -116,11 +116,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'surveyquestionoption_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'surveyquestionoption_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -132,7 +132,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -141,11 +141,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Surveyquestionresponse/DataRowsTableSeeder.php b/database/seeders/Surveyquestionresponse/DataRowsTableSeeder.php index 6b8d3f7..fc89c39 100644 --- a/database/seeders/Surveyquestionresponse/DataRowsTableSeeder.php +++ b/database/seeders/Surveyquestionresponse/DataRowsTableSeeder.php @@ -171,11 +171,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'surveyquestionresponse_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'surveyquestionresponse_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -187,7 +187,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -196,11 +196,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Surveyresponse/DataRowsTableSeeder.php b/database/seeders/Surveyresponse/DataRowsTableSeeder.php index d937e06..d566c72 100644 --- a/database/seeders/Surveyresponse/DataRowsTableSeeder.php +++ b/database/seeders/Surveyresponse/DataRowsTableSeeder.php @@ -251,11 +251,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'surveyresponse_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'surveyresponse_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -267,7 +267,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -276,11 +276,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/Task/DataRowsTableSeeder.php b/database/seeders/Task/DataRowsTableSeeder.php index 45845d1..12721f6 100644 --- a/database/seeders/Task/DataRowsTableSeeder.php +++ b/database/seeders/Task/DataRowsTableSeeder.php @@ -369,11 +369,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'task_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'task_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -385,7 +385,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -394,11 +394,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user_id'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to_id'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/database/seeders/UserPreference/DataRowsTableSeeder.php b/database/seeders/UserPreference/DataRowsTableSeeder.php index c40e96c..590978c 100644 --- a/database/seeders/UserPreference/DataRowsTableSeeder.php +++ b/database/seeders/UserPreference/DataRowsTableSeeder.php @@ -48,11 +48,11 @@ public function run() // - $dataRow = $this->dataRow($dataType, 'user_preference_belongsto_assigned_user_relationship'); + $dataRow = $this->dataRow($dataType, 'user_preference_belongsto_assigned_to_relationship'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'relationship', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 0, 'browse' => 1, 'read' => 1, @@ -64,7 +64,7 @@ public function run() 'model' => Voyager::modelClass('User'), 'table' => 'users', 'type' => 'belongsTo', - 'column' => 'assigned_user_id', + 'column' => 'assigned_to_id', 'key' => 'id', 'label' => 'name', 'pivot_table' => 'users', @@ -73,11 +73,11 @@ public function run() ])->save(); } - $dataRow = $this->dataRow($dataType, 'assigned_user_id'); + $dataRow = $this->dataRow($dataType, 'assigned_to_id'); if (!$dataRow->exists) { $dataRow->fill([ 'type' => 'text', - 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_user'), + 'display_name' => __('joy-voyager-crm::seeders.data_rows.assigned_to'), 'required' => 1, 'browse' => 1, 'read' => 1, diff --git a/resources/lang/en/seeders.php b/resources/lang/en/seeders.php index b75a082..ec8311f 100644 --- a/resources/lang/en/seeders.php +++ b/resources/lang/en/seeders.php @@ -33,7 +33,7 @@ 'contacts' => 'Contacts', 'opportunities' => 'Opportunities', 'cases' => 'Cases', - 'assigned_user' => 'Assigned user', + 'assigned_to' => 'Assigned to', 'parent' => 'Parent', 'created_at' => 'Created at', 'updated_at' => 'Updated at', @@ -67,7 +67,7 @@ 'success' => 'Success', 'record_id' => 'Record id', 'record_module' => 'Record module', - 'assigned_user_id' => 'Assigned user id', + 'assigned_to_id' => 'Assigned to id', 'revision' => 'Revision', 'additional_info' => 'Additional info', 'user_id_c' => 'User id c', diff --git a/src/Models/Account.php b/src/Models/Account.php index 3b1fde8..adc4263 100644 --- a/src/Models/Account.php +++ b/src/Models/Account.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $account_type * @property string|null $industry * @property string|null $annual_revenue @@ -75,7 +75,7 @@ class Account extends Model 'created_by_id', 'description', 'deleted_at', - 'assigned_user_id', + 'assigned_to_id', 'account_type', 'industry', 'annual_revenue', diff --git a/src/Models/AddressBook.php b/src/Models/AddressBook.php index a45c6e8..66541db 100644 --- a/src/Models/AddressBook.php +++ b/src/Models/AddressBook.php @@ -10,7 +10,7 @@ /** * Class AddressBook * - * @property string $assigned_user_id + * @property string $assigned_to_id * @property string|null $bean * @property string $bean_id * @@ -35,7 +35,7 @@ class AddressBook extends Model 'created_at', 'updated_at', 'deleted_at', - 'assigned_user_id', + 'assigned_to_id', 'bean', 'bean_id' ]; diff --git a/src/Models/Alert.php b/src/Models/Alert.php index 6cd3b15..e6b3290 100644 --- a/src/Models/Alert.php +++ b/src/Models/Alert.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property bool|null $is_read * @property string|null $target_module * @property string|null $type @@ -58,7 +58,7 @@ class Alert extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'is_read', 'target_module', 'type', diff --git a/src/Models/AmProjecttemplate.php b/src/Models/AmProjecttemplate.php index 27b32f6..c9c3398 100644 --- a/src/Models/AmProjecttemplate.php +++ b/src/Models/AmProjecttemplate.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $status * @property string|null $priority * @property bool|null $override_business_hours @@ -57,7 +57,7 @@ class AmProjecttemplate extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'status', 'priority', 'override_business_hours' diff --git a/src/Models/AmTasktemplate.php b/src/Models/AmTasktemplate.php index 2bdffbe..dedc926 100644 --- a/src/Models/AmTasktemplate.php +++ b/src/Models/AmTasktemplate.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $status * @property string|null $priority * @property int|null $percent_complete @@ -71,7 +71,7 @@ class AmTasktemplate extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'status', 'priority', 'percent_complete', diff --git a/src/Models/AodIndex.php b/src/Models/AodIndex.php index a75f21e..aa7c803 100644 --- a/src/Models/AodIndex.php +++ b/src/Models/AodIndex.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property Carbon|null $last_optimised * @property string|null $location * @@ -54,7 +54,7 @@ class AodIndex extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'last_optimised', 'location' ]; diff --git a/src/Models/AodIndexevent.php b/src/Models/AodIndexevent.php index a3e54cf..8349aef 100644 --- a/src/Models/AodIndexevent.php +++ b/src/Models/AodIndexevent.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $error * @property bool|null $success * @property string|null $record_id @@ -59,7 +59,7 @@ class AodIndexevent extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'error', 'success', 'record_id', diff --git a/src/Models/AokKnowledgebase.php b/src/Models/AokKnowledgebase.php index 6b4a145..6e6429e 100644 --- a/src/Models/AokKnowledgebase.php +++ b/src/Models/AokKnowledgebase.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $status * @property string|null $revision * @property string|null $additional_info @@ -56,7 +56,7 @@ class AokKnowledgebase extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'status', 'revision', 'additional_info', diff --git a/src/Models/AokKnowledgebaseBaseCategory.php b/src/Models/AokKnowledgebaseBaseCategory.php index f698ab5..2b46a5f 100644 --- a/src/Models/AokKnowledgebaseBaseCategory.php +++ b/src/Models/AokKnowledgebaseBaseCategory.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * * @package Joy\VoyagerCrm\Models */ @@ -52,7 +52,7 @@ class AokKnowledgebaseBaseCategory extends Model // 'created_by_id', 'description', - 'assigned_user_id' + 'assigned_to_id' ]; /** diff --git a/src/Models/AopCaseEvent.php b/src/Models/AopCaseEvent.php index ffe66d1..817d317 100644 --- a/src/Models/AopCaseEvent.php +++ b/src/Models/AopCaseEvent.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $case_id * * @package Joy\VoyagerCrm\Models @@ -51,7 +51,7 @@ class AopCaseEvent extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'case_id' ]; diff --git a/src/Models/AopCaseUpdate.php b/src/Models/AopCaseUpdate.php index 87c4a88..3c26ce4 100644 --- a/src/Models/AopCaseUpdate.php +++ b/src/Models/AopCaseUpdate.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $case_id * @property string|null $contact_id * @property bool|null $internal @@ -57,7 +57,7 @@ class AopCaseUpdate extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'case_id', 'contact_id', 'internal' diff --git a/src/Models/AorReport.php b/src/Models/AorReport.php index 94b133b..3526847 100644 --- a/src/Models/AorReport.php +++ b/src/Models/AorReport.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $report_module * @property int|null $graphs_per_row * @@ -56,7 +56,7 @@ class AorReport extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'report_module', 'graphs_per_row' ]; diff --git a/src/Models/AosContract.php b/src/Models/AosContract.php index 8c635e9..e4ea443 100644 --- a/src/Models/AosContract.php +++ b/src/Models/AosContract.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $reference_code * @property Carbon|null $start_date * @property Carbon|null $end_date @@ -104,7 +104,7 @@ class AosContract extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'reference_code', 'start_date', 'end_date', diff --git a/src/Models/AosInvoice.php b/src/Models/AosInvoice.php index 8a5f4ad..ae4ebb4 100644 --- a/src/Models/AosInvoice.php +++ b/src/Models/AosInvoice.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $billing_account_id * @property string|null $billing_contact_id * @property string|null $billing_address_street @@ -111,7 +111,7 @@ class AosInvoice extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'billing_account_id', 'billing_contact_id', 'billing_address_street', diff --git a/src/Models/AosLineItemGroup.php b/src/Models/AosLineItemGroup.php index e15434a..04a67f8 100644 --- a/src/Models/AosLineItemGroup.php +++ b/src/Models/AosLineItemGroup.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property float|null $total_amt * @property float|null $total_amt_usdollar * @property float|null $discount_amount @@ -82,7 +82,7 @@ class AosLineItemGroup extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'total_amt', 'total_amt_usdollar', 'discount_amount', diff --git a/src/Models/AosPdfTemplate.php b/src/Models/AosPdfTemplate.php index 26da3bf..5ddb38b 100644 --- a/src/Models/AosPdfTemplate.php +++ b/src/Models/AosPdfTemplate.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property bool|null $active * @property string|null $type * @property string|null $pdfheader @@ -72,7 +72,7 @@ class AosPdfTemplate extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'active', 'type', 'pdfheader', diff --git a/src/Models/AosProduct.php b/src/Models/AosProduct.php index 76c1c61..7293d71 100644 --- a/src/Models/AosProduct.php +++ b/src/Models/AosProduct.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $maincode * @property string|null $part_number * @property string|null $category @@ -69,7 +69,7 @@ class AosProduct extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'maincode', 'part_number', 'category', diff --git a/src/Models/AosProductCategory.php b/src/Models/AosProductCategory.php index e6bc22c..9a74c77 100644 --- a/src/Models/AosProductCategory.php +++ b/src/Models/AosProductCategory.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property bool|null $is_parent * @property string|null $parent_category_id * @@ -56,7 +56,7 @@ class AosProductCategory extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'is_parent', 'parent_category_id' ]; diff --git a/src/Models/AosProductsQuote.php b/src/Models/AosProductsQuote.php index 0735192..54a856a 100644 --- a/src/Models/AosProductsQuote.php +++ b/src/Models/AosProductsQuote.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $currency_id * @property string|null $part_number * @property string|null $item_description @@ -94,7 +94,7 @@ class AosProductsQuote extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'currency_id', 'part_number', 'item_description', diff --git a/src/Models/AosQuote.php b/src/Models/AosQuote.php index 97cc0cb..88b9151 100644 --- a/src/Models/AosQuote.php +++ b/src/Models/AosQuote.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $approval_issue * @property string|null $billing_account_id * @property string|null $billing_contact_id @@ -111,7 +111,7 @@ class AosQuote extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'approval_issue', 'billing_account_id', 'billing_contact_id', diff --git a/src/Models/AowWorkflow.php b/src/Models/AowWorkflow.php index 976545e..e23a8c0 100644 --- a/src/Models/AowWorkflow.php +++ b/src/Models/AowWorkflow.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $flow_module * @property string|null $flow_run_on * @property string|null $status @@ -62,7 +62,7 @@ class AowWorkflow extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'flow_module', 'flow_run_on', 'status', diff --git a/src/Models/Bug.php b/src/Models/Bug.php index 7c17a59..226e670 100644 --- a/src/Models/Bug.php +++ b/src/Models/Bug.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property int $bug_number * @property string|null $type * @property string|null $status @@ -64,7 +64,7 @@ class Bug extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'bug_number', 'type', 'status', diff --git a/src/Models/Call.php b/src/Models/Call.php index e43f36f..71bec2f 100644 --- a/src/Models/Call.php +++ b/src/Models/Call.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property int|null $duration_hours * @property int|null $duration_minutes * @property Carbon|null $date_start @@ -81,7 +81,7 @@ class Call extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'duration_hours', 'duration_minutes', 'date_start', diff --git a/src/Models/CallsReschedule.php b/src/Models/CallsReschedule.php index ffd5a83..70a2c9e 100644 --- a/src/Models/CallsReschedule.php +++ b/src/Models/CallsReschedule.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $reason * @property string|null $call_id * @@ -53,7 +53,7 @@ class CallsReschedule extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'reason', 'call_id' ]; diff --git a/src/Models/Campaign.php b/src/Models/Campaign.php index 6244790..9973414 100644 --- a/src/Models/Campaign.php +++ b/src/Models/Campaign.php @@ -20,7 +20,7 @@ * @property string|null $modified_by_id * @property string|null $created_by * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property int $tracker_key * @property int|null $tracker_count * @property string|null $refer_url @@ -78,7 +78,7 @@ class Campaign extends Model 'name', 'modified_by_id', 'created_by_id', - 'assigned_user_id', + 'assigned_to_id', 'tracker_key', 'tracker_count', 'refer_url', diff --git a/src/Models/Contact.php b/src/Models/Contact.php index d2dac2b..c97cfac 100644 --- a/src/Models/Contact.php +++ b/src/Models/Contact.php @@ -20,7 +20,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $salutation * @property string|null $first_name * @property string|null $last_name @@ -89,7 +89,7 @@ class Contact extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'salutation', 'first_name', 'last_name', diff --git a/src/Models/CrmCase.php b/src/Models/CrmCase.php index e55c32b..2d47480 100644 --- a/src/Models/CrmCase.php +++ b/src/Models/CrmCase.php @@ -22,7 +22,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property int $case_number * @property string|null $type * @property string|null $status @@ -66,7 +66,7 @@ class CrmCase extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'case_number', 'type', 'status', diff --git a/src/Models/Document.php b/src/Models/Document.php index 4b5791d..e5711ad 100644 --- a/src/Models/Document.php +++ b/src/Models/Document.php @@ -20,7 +20,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $document_name * @property string|null $doc_id * @property string|null $doc_type @@ -67,7 +67,7 @@ class Document extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'document_name', 'doc_id', 'doc_type', diff --git a/src/Models/Eapm.php b/src/Models/Eapm.php index fd4f087..ca2130e 100644 --- a/src/Models/Eapm.php +++ b/src/Models/Eapm.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $password * @property string|null $url * @property string|null $application @@ -69,7 +69,7 @@ class Eapm extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'password', 'url', 'application', diff --git a/src/Models/Email.php b/src/Models/Email.php index 2a193f8..ef3b792 100644 --- a/src/Models/Email.php +++ b/src/Models/Email.php @@ -20,7 +20,7 @@ * @property string|null $modified_by_id * @property string|null $created_by * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property bool|null $orphaned * @property Carbon|null $last_synced * @property Carbon|null $date_sent_received @@ -69,7 +69,7 @@ class Email extends Model 'name', 'modified_by_id', 'created_by_id', - 'assigned_user_id', + 'assigned_to_id', 'orphaned', 'last_synced', 'date_sent_received', diff --git a/src/Models/EmailTemplate.php b/src/Models/EmailTemplate.php index 342a644..ff379d5 100644 --- a/src/Models/EmailTemplate.php +++ b/src/Models/EmailTemplate.php @@ -25,7 +25,7 @@ * @property string|null $body * @property string|null $body_html * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property bool|null $text_only * @property string|null $type * @@ -63,7 +63,7 @@ class EmailTemplate extends Model 'subject', 'body', 'body_html', - 'assigned_user_id', + 'assigned_to_id', 'text_only', 'type' ]; diff --git a/src/Models/Favorite.php b/src/Models/Favorite.php index 4ba5518..4d8c824 100644 --- a/src/Models/Favorite.php +++ b/src/Models/Favorite.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $parent_id * @property string|null $parent_type * @@ -51,7 +51,7 @@ class Favorite extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'parent_id', 'parent_type' ]; diff --git a/src/Models/FoldersSubscription.php b/src/Models/FoldersSubscription.php index 945c794..29213af 100644 --- a/src/Models/FoldersSubscription.php +++ b/src/Models/FoldersSubscription.php @@ -12,7 +12,7 @@ * * @property string $id * @property string $folder_id - * @property string $assigned_user_id + * @property string $assigned_to_id * * @package Joy\VoyagerCrm\Models */ @@ -36,6 +36,6 @@ class FoldersSubscription extends Model 'updated_at', 'deleted_at', 'folder_id', - 'assigned_user_id' + 'assigned_to_id' ]; } diff --git a/src/Models/FpEvent.php b/src/Models/FpEvent.php index f4d8b5d..ebf01a6 100644 --- a/src/Models/FpEvent.php +++ b/src/Models/FpEvent.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property int|null $duration_hours * @property int|null $duration_minutes * @property Carbon|null $date_start @@ -68,7 +68,7 @@ class FpEvent extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'duration_hours', 'duration_minutes', 'date_start', diff --git a/src/Models/FpEventLocation.php b/src/Models/FpEventLocation.php index 1b0620d..4bdd036 100644 --- a/src/Models/FpEventLocation.php +++ b/src/Models/FpEventLocation.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $address * @property string|null $address_city * @property string|null $address_country @@ -56,7 +56,7 @@ class FpEventLocation extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'address', 'address_city', 'address_country', diff --git a/src/Models/ImportMap.php b/src/Models/ImportMap.php index 7dc2a79..0fa83d0 100644 --- a/src/Models/ImportMap.php +++ b/src/Models/ImportMap.php @@ -25,7 +25,7 @@ * @property Carbon|null $deleted_at * @property Carbon|null $created_at * @property Carbon|null $updated_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $is_published * * @package Joy\VoyagerCrm\Models @@ -62,7 +62,7 @@ class ImportMap extends Model 'content', 'default_values', 'has_header', - 'assigned_user_id', + 'assigned_to_id', 'is_published' ]; diff --git a/src/Models/JjwgAddressCache.php b/src/Models/JjwgAddressCache.php index 3174db3..8573318 100644 --- a/src/Models/JjwgAddressCache.php +++ b/src/Models/JjwgAddressCache.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property float|null $lat * @property float|null $lng * @@ -58,7 +58,7 @@ class JjwgAddressCache extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'lat', 'lng' ]; diff --git a/src/Models/JjwgArea.php b/src/Models/JjwgArea.php index 56fde78..35c3ecc 100644 --- a/src/Models/JjwgArea.php +++ b/src/Models/JjwgArea.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $city * @property string|null $state * @property string|null $country @@ -54,7 +54,7 @@ class JjwgArea extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'city', 'state', 'country', diff --git a/src/Models/JjwgMap.php b/src/Models/JjwgMap.php index 36c52e2..2136155 100644 --- a/src/Models/JjwgMap.php +++ b/src/Models/JjwgMap.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property float|null $distance * @property string|null $unit_type * @property string|null $module_type @@ -59,7 +59,7 @@ class JjwgMap extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'distance', 'unit_type', 'module_type', diff --git a/src/Models/JjwgMarker.php b/src/Models/JjwgMarker.php index ab6cdcb..bdd6e7d 100644 --- a/src/Models/JjwgMarker.php +++ b/src/Models/JjwgMarker.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $city * @property string|null $state * @property string|null $country @@ -61,7 +61,7 @@ class JjwgMarker extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'city', 'state', 'country', diff --git a/src/Models/JobQueue.php b/src/Models/JobQueue.php index b128d62..b47810c 100644 --- a/src/Models/JobQueue.php +++ b/src/Models/JobQueue.php @@ -13,7 +13,7 @@ /** * Class JobQueue * - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string $id * @property string|null $name * @property Carbon|null $deleted_at @@ -63,7 +63,7 @@ class JobQueue extends Model 'created_at', 'updated_at', 'deleted_at', - 'assigned_user_id', + 'assigned_to_id', 'name', 'scheduler_id', 'execute_time', diff --git a/src/Models/Lead.php b/src/Models/Lead.php index 6e9a764..cf69fec 100644 --- a/src/Models/Lead.php +++ b/src/Models/Lead.php @@ -20,7 +20,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $salutation * @property string|null $first_name * @property string|null $last_name @@ -101,7 +101,7 @@ class Lead extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'salutation', 'first_name', 'last_name', diff --git a/src/Models/Meeting.php b/src/Models/Meeting.php index 094069e..3dad60f 100644 --- a/src/Models/Meeting.php +++ b/src/Models/Meeting.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $location * @property string|null $password * @property string|null $join_url @@ -97,7 +97,7 @@ class Meeting extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'location', 'password', 'join_url', diff --git a/src/Models/Note.php b/src/Models/Note.php index b452dc2..9ddcc13 100644 --- a/src/Models/Note.php +++ b/src/Models/Note.php @@ -13,7 +13,7 @@ /** * Class Note * - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string $id * @property Carbon|null $created_at * @property Carbon|null $updated_at @@ -57,7 +57,7 @@ class Note extends Model 'created_at', 'updated_at', 'deleted_at', - 'assigned_user_id', + 'assigned_to_id', 'modified_by_id', 'created_by_id', 'name', diff --git a/src/Models/Oauth2client.php b/src/Models/Oauth2client.php index 7610030..26e2957 100644 --- a/src/Models/Oauth2client.php +++ b/src/Models/Oauth2client.php @@ -26,7 +26,7 @@ * @property int|null $duration_value * @property int|null $duration_amount * @property string|null $duration_unit - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * * @package Joy\VoyagerCrm\Models */ @@ -71,6 +71,6 @@ class Oauth2client extends Model 'duration_value', 'duration_amount', 'duration_unit', - 'assigned_user_id' + 'assigned_to_id' ]; } diff --git a/src/Models/Oauth2token.php b/src/Models/Oauth2token.php index cc2d470..d4eafad 100644 --- a/src/Models/Oauth2token.php +++ b/src/Models/Oauth2token.php @@ -28,7 +28,7 @@ * @property string|null $grant_type * @property string|null $state * @property string|null $client - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * * @package Joy\VoyagerCrm\Models */ @@ -76,6 +76,6 @@ class Oauth2token extends Model 'grant_type', 'state', 'client', - 'assigned_user_id' + 'assigned_to_id' ]; } diff --git a/src/Models/OauthConsumer.php b/src/Models/OauthConsumer.php index 2495e67..ae22a40 100644 --- a/src/Models/OauthConsumer.php +++ b/src/Models/OauthConsumer.php @@ -19,7 +19,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $c_key * @property string|null $c_secret * @@ -53,7 +53,7 @@ class OauthConsumer extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'c_key', 'c_secret' ]; diff --git a/src/Models/OauthToken.php b/src/Models/OauthToken.php index f111af8..44bfa09 100644 --- a/src/Models/OauthToken.php +++ b/src/Models/OauthToken.php @@ -18,7 +18,7 @@ * @property string|null $verify * @property bool $deleted * @property string|null $callback_url - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * * @package Joy\VoyagerCrm\Models */ @@ -55,6 +55,6 @@ class OauthToken extends Model 'token_ts', 'verify', 'callback_url', - 'assigned_user_id' + 'assigned_to_id' ]; } diff --git a/src/Models/Opportunity.php b/src/Models/Opportunity.php index 991ad05..f8d6d3d 100644 --- a/src/Models/Opportunity.php +++ b/src/Models/Opportunity.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $opportunity_type * @property string|null $campaign_id * @property string|null $lead_source @@ -67,7 +67,7 @@ class Opportunity extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'opportunity_type', 'campaign_id', 'lead_source', diff --git a/src/Models/OutboundEmail.php b/src/Models/OutboundEmail.php index be2e159..01b5f1b 100644 --- a/src/Models/OutboundEmail.php +++ b/src/Models/OutboundEmail.php @@ -32,7 +32,7 @@ * @property string|null $modified_by_id * @property string|null $created_by * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * * @package Joy\VoyagerCrm\Models */ @@ -81,7 +81,7 @@ class OutboundEmail extends Model 'mail_smtpssl', 'modified_by_id', 'created_by_id', - 'assigned_user_id' + 'assigned_to_id' ]; /** diff --git a/src/Models/Project.php b/src/Models/Project.php index 65efbe0..bf25830 100644 --- a/src/Models/Project.php +++ b/src/Models/Project.php @@ -16,7 +16,7 @@ * @property string $id * @property Carbon|null $created_at * @property Carbon|null $updated_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $modified_by_id * @property string|null $created_by * @property string|null $name @@ -56,7 +56,7 @@ class Project extends Model 'created_at', 'updated_at', 'deleted_at', - 'assigned_user_id', + 'assigned_to_id', 'modified_by_id', 'created_by_id', 'name', diff --git a/src/Models/ProjectTask.php b/src/Models/ProjectTask.php index 0f1bb71..9a969d1 100644 --- a/src/Models/ProjectTask.php +++ b/src/Models/ProjectTask.php @@ -34,7 +34,7 @@ * @property Carbon|null $date_due * @property Carbon|null $time_due * @property int|null $parent_task_id - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $modified_by_id * @property string|null $priority * @property string|null $created_by @@ -108,7 +108,7 @@ class ProjectTask extends Model 'date_due', 'time_due', 'parent_task_id', - 'assigned_user_id', + 'assigned_to_id', 'modified_by_id', 'created_by_id', 'priority', diff --git a/src/Models/Prospect.php b/src/Models/Prospect.php index fd91a44..d15dbd2 100644 --- a/src/Models/Prospect.php +++ b/src/Models/Prospect.php @@ -20,7 +20,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $salutation * @property string|null $first_name * @property string|null $last_name @@ -86,7 +86,7 @@ class Prospect extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'salutation', 'first_name', 'last_name', diff --git a/src/Models/ProspectList.php b/src/Models/ProspectList.php index 98dcad0..8cd736b 100644 --- a/src/Models/ProspectList.php +++ b/src/Models/ProspectList.php @@ -13,7 +13,7 @@ /** * Class ProspectList * - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string $id * @property string|null $name * @property string|null $list_type @@ -47,7 +47,7 @@ class ProspectList extends Model 'created_at', 'updated_at', 'deleted_at', - 'assigned_user_id', + 'assigned_to_id', 'name', 'list_type', 'modified_by_id', diff --git a/src/Models/Reminder.php b/src/Models/Reminder.php index 3774e19..1e6038c 100644 --- a/src/Models/Reminder.php +++ b/src/Models/Reminder.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property bool|null $popup * @property bool|null $email * @property bool|null $email_sent @@ -66,7 +66,7 @@ class Reminder extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'popup', 'email', 'email_sent', diff --git a/src/Models/RemindersInvitee.php b/src/Models/RemindersInvitee.php index a031687..84ebcb1 100644 --- a/src/Models/RemindersInvitee.php +++ b/src/Models/RemindersInvitee.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string $reminder_id * @property string|null $related_invitee_module * @property string $related_invitee_module_id @@ -52,7 +52,7 @@ class RemindersInvitee extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'reminder_id', 'related_invitee_module', 'related_invitee_module_id' diff --git a/src/Models/SavedSearch.php b/src/Models/SavedSearch.php index cd76403..bd3af3d 100644 --- a/src/Models/SavedSearch.php +++ b/src/Models/SavedSearch.php @@ -19,7 +19,7 @@ * @property Carbon|null $deleted_at * @property Carbon|null $created_at * @property Carbon|null $updated_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $contents * @property string|null $description * @@ -48,7 +48,7 @@ class SavedSearch extends Model 'name', 'search_module', 'updated_at', - 'assigned_user_id', + 'assigned_to_id', 'contents', 'description' ]; diff --git a/src/Models/Securitygroup.php b/src/Models/Securitygroup.php index 38ac502..69dddea 100644 --- a/src/Models/Securitygroup.php +++ b/src/Models/Securitygroup.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property bool|null $noninheritable * * @package Joy\VoyagerCrm\Models @@ -55,7 +55,7 @@ class Securitygroup extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'noninheritable' ]; diff --git a/src/Models/Spot.php b/src/Models/Spot.php index accfef1..17e431a 100644 --- a/src/Models/Spot.php +++ b/src/Models/Spot.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $config * @property string|null $type * @@ -51,7 +51,7 @@ class Spot extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'config', 'type' ]; diff --git a/src/Models/Sugarfeed.php b/src/Models/Sugarfeed.php index d103453..6eda86a 100644 --- a/src/Models/Sugarfeed.php +++ b/src/Models/Sugarfeed.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $related_module * @property string|null $related_id * @property string|null $link_url @@ -53,7 +53,7 @@ class Sugarfeed extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'related_module', 'related_id', 'link_url', diff --git a/src/Models/Survey.php b/src/Models/Survey.php index 8376b13..5b6f1bb 100644 --- a/src/Models/Survey.php +++ b/src/Models/Survey.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $status * @property string|null $submit_text * @property string|null $satisfied_text @@ -55,7 +55,7 @@ class Survey extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'status', 'submit_text', 'satisfied_text', diff --git a/src/Models/Surveyquestion.php b/src/Models/Surveyquestion.php index 9c6d2f0..c91a5bb 100644 --- a/src/Models/Surveyquestion.php +++ b/src/Models/Surveyquestion.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property int|null $sort_order * @property string|null $type * @property bool|null $happiness_question @@ -59,7 +59,7 @@ class Surveyquestion extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'sort_order', 'type', 'happiness_question', diff --git a/src/Models/Surveyquestionoption.php b/src/Models/Surveyquestionoption.php index 40ae09a..5d4bca0 100644 --- a/src/Models/Surveyquestionoption.php +++ b/src/Models/Surveyquestionoption.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property int|null $sort_order * @property string|null $survey_question_id * @@ -56,7 +56,7 @@ class Surveyquestionoption extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'sort_order', 'survey_question_id' ]; diff --git a/src/Models/Surveyquestionresponse.php b/src/Models/Surveyquestionresponse.php index 9cf9950..5d7879e 100644 --- a/src/Models/Surveyquestionresponse.php +++ b/src/Models/Surveyquestionresponse.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $answer * @property bool|null $answer_bool * @property Carbon|null $answer_datetime @@ -60,7 +60,7 @@ class Surveyquestionresponse extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'answer', 'answer_bool', 'answer_datetime', diff --git a/src/Models/Surveyresponse.php b/src/Models/Surveyresponse.php index 486b881..852406e 100644 --- a/src/Models/Surveyresponse.php +++ b/src/Models/Surveyresponse.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property int|null $happiness * @property bool|null $email_response_sent * @property string|null $account_id @@ -61,7 +61,7 @@ class Surveyresponse extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'happiness', 'email_response_sent', 'account_id', diff --git a/src/Models/Task.php b/src/Models/Task.php index 3e704e8..73d0853 100644 --- a/src/Models/Task.php +++ b/src/Models/Task.php @@ -21,7 +21,7 @@ * @property string|null $created_by * @property string|null $description * @property Carbon|null $deleted_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $status * @property bool|null $date_due_flag * @property Carbon|null $date_due @@ -65,7 +65,7 @@ class Task extends Model 'modified_by_id', 'created_by_id', 'description', - 'assigned_user_id', + 'assigned_to_id', 'status', 'date_due_flag', 'date_due', diff --git a/src/Models/UserPreference.php b/src/Models/UserPreference.php index baf4ae7..42af3bd 100644 --- a/src/Models/UserPreference.php +++ b/src/Models/UserPreference.php @@ -18,7 +18,7 @@ * @property Carbon|null $deleted_at * @property Carbon|null $created_at * @property Carbon|null $updated_at - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $contents * * @package Joy\VoyagerCrm\Models @@ -44,7 +44,7 @@ class UserPreference extends Model 'updated_at', 'deleted_at', 'category', - 'assigned_user_id', + 'assigned_to_id', 'contents' ]; diff --git a/src/Models/UsersLastImport.php b/src/Models/UsersLastImport.php index cf08d16..3798bc6 100644 --- a/src/Models/UsersLastImport.php +++ b/src/Models/UsersLastImport.php @@ -13,7 +13,7 @@ * Class UsersLastImport * * @property string $id - * @property string|null $assigned_user_id + * @property string|null $assigned_to_id * @property string|null $import_module * @property string|null $bean_type * @property string|null $bean_id @@ -41,7 +41,7 @@ class UsersLastImport extends Model 'created_at', 'updated_at', 'deleted_at', - 'assigned_user_id', + 'assigned_to_id', 'import_module', 'bean_type', 'bean_id', diff --git a/src/VoyagerCrmServiceProvider.php b/src/VoyagerCrmServiceProvider.php index 3aff035..91a55a0 100644 --- a/src/VoyagerCrmServiceProvider.php +++ b/src/VoyagerCrmServiceProvider.php @@ -496,7 +496,9 @@ public function boot() $this->mapWebRoutes(); - $this->loadMigrationsFrom(__DIR__ . '/../database/migrations'); + if (config('joy-voyager-crm.database.autoload_migrations', true)) { + $this->loadMigrationsFrom(__DIR__ . '/../database/migrations'); + } $this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'joy-voyager-crm');