|
@@ -20,7 +20,7 @@
|
|
$apps[$x]['description']['pt-br'] = "";
|
|
$apps[$x]['description']['pt-br'] = "";
|
|
|
|
|
|
//permission details
|
|
//permission details
|
|
- $y = 0;
|
|
|
|
|
|
+ $y=0;
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_view";
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_view";
|
|
$apps[$x]['permissions'][$y]['menu']['uuid'] = "f14e6ab6-6565-d4e6-cbad-a51d2e3e8ec6";
|
|
$apps[$x]['permissions'][$y]['menu']['uuid'] = "f14e6ab6-6565-d4e6-cbad-a51d2e3e8ec6";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
@@ -201,9 +201,10 @@
|
|
|
|
|
|
|
|
|
|
//schema details
|
|
//schema details
|
|
- $y = 0; //table array index
|
|
|
|
- $z = 0; //field array index
|
|
|
|
- $apps[$x]['db'][$y]['table'] = "v_contacts";
|
|
|
|
|
|
+ $y=0;
|
|
|
|
+ $apps[$x]['db'][$y]['table']['name'] = "v_contacts";
|
|
|
|
+ $apps[$x]['db'][$y]['table']['parent'] = "";
|
|
|
|
+ $z=0;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "contact_id";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "contact_id";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
|
|
@@ -306,8 +307,10 @@
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
$z++;
|
|
$z++;
|
|
|
|
|
|
- $y++; //table array index
|
|
|
|
- $apps[$x]['db'][$y]['table'] = "v_contact_addresses";
|
|
|
|
|
|
+ $y++;
|
|
|
|
+ $apps[$x]['db'][$y]['table']['name'] = "v_contact_addresses";
|
|
|
|
+ $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
|
|
|
|
+ $z=0;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_address_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_address_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
@@ -386,8 +389,10 @@
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
|
|
$z++;
|
|
$z++;
|
|
|
|
|
|
- $y++; //table array index
|
|
|
|
- $apps[$x]['db'][$y]['table'] = "v_contact_phones";
|
|
|
|
|
|
+ $y++;
|
|
|
|
+ $apps[$x]['db'][$y]['table']['name'] = "v_contact_phones";
|
|
|
|
+ $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
|
|
|
|
+ $z=0;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_phone_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_phone_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
@@ -454,8 +459,10 @@
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
|
|
$z++;
|
|
$z++;
|
|
|
|
|
|
- $y++; //table array index
|
|
|
|
- $apps[$x]['db'][$y]['table'] = "v_contact_notes";
|
|
|
|
|
|
+ $y++;
|
|
|
|
+ $apps[$x]['db'][$y]['table']['name'] = "v_contact_notes";
|
|
|
|
+ $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
|
|
|
|
+ $z=0;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "contacts_note_id";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "contacts_note_id";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
|
|
@@ -512,8 +519,10 @@
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
$z++;
|
|
$z++;
|
|
|
|
|
|
- $y++; //table array index
|
|
|
|
- $apps[$x]['db'][$y]['table'] = "v_contact_users";
|
|
|
|
|
|
+ $y++;
|
|
|
|
+ $apps[$x]['db'][$y]['table']['name'] = "v_contact_users";
|
|
|
|
+ $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
|
|
|
|
+ $z=0;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_user_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_user_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
@@ -549,8 +558,10 @@
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
$z++;
|
|
$z++;
|
|
|
|
|
|
- $y++; //table array index
|
|
|
|
- $apps[$x]['db'][$y]['table'] = "v_contact_groups";
|
|
|
|
|
|
+ $y++;
|
|
|
|
+ $apps[$x]['db'][$y]['table']['name'] = "v_contact_groups";
|
|
|
|
+ $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
|
|
|
|
+ $z=0;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "contact_group_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "contact_group_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "contact_groups_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "contact_groups_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
@@ -587,8 +598,10 @@
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
$z++;
|
|
$z++;
|
|
|
|
|
|
- $y++; //table array index
|
|
|
|
- $apps[$x]['db'][$y]['table'] = "v_contact_settings";
|
|
|
|
|
|
+ $y++;
|
|
|
|
+ $apps[$x]['db'][$y]['table']['name'] = "v_contact_settings";
|
|
|
|
+ $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
|
|
|
|
+ $z=0;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_setting_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_setting_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
@@ -638,8 +651,10 @@
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
|
- $y++; //table array index
|
|
|
|
- $apps[$x]['db'][$y]['table'] = "v_contact_relations";
|
|
|
|
|
|
+ $y++;
|
|
|
|
+ $apps[$x]['db'][$y]['table']['name'] = "v_contact_relations";
|
|
|
|
+ $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
|
|
|
|
+ $z=0;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_relation_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_relation_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
@@ -675,8 +690,10 @@
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
$z++;
|
|
$z++;
|
|
|
|
|
|
- $y++; //table array index
|
|
|
|
- $apps[$x]['db'][$y]['table'] = "v_contact_emails";
|
|
|
|
|
|
+ $y++;
|
|
|
|
+ $apps[$x]['db'][$y]['table']['name'] = "v_contact_emails";
|
|
|
|
+ $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
|
|
|
|
+ $z=0;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_email_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_email_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
@@ -719,8 +736,10 @@
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the email description.";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the email description.";
|
|
$z++;
|
|
$z++;
|
|
|
|
|
|
- $y++; //table array index
|
|
|
|
- $apps[$x]['db'][$y]['table'] = "v_contact_urls";
|
|
|
|
|
|
+ $y++;
|
|
|
|
+ $apps[$x]['db'][$y]['table']['name'] = "v_contact_urls";
|
|
|
|
+ $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
|
|
|
|
+ $z=0;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_url_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_url_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
@@ -767,8 +786,10 @@
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the URL description.";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the URL description.";
|
|
$z++;
|
|
$z++;
|
|
|
|
|
|
- $y++; //table array index
|
|
|
|
- $apps[$x]['db'][$y]['table'] = 'v_contact_times';
|
|
|
|
|
|
+ $y++;
|
|
|
|
+ $apps[$x]['db'][$y]['table']['name'] = "v_contact_times";
|
|
|
|
+ $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
|
|
|
|
+ $z=0;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'domain_uuid';
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'domain_uuid';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|