|
@@ -1,424 +1,424 @@
|
|
|
<?php
|
|
|
//application details
|
|
|
- $apps[$x]['name'] = 'Contacts';
|
|
|
- $apps[$x]['uuid'] = '04481e0e-a478-c559-adad-52bd4174574c';
|
|
|
- $apps[$x]['category'] = 'CRM';
|
|
|
- $apps[$x]['subcategory'] = '';
|
|
|
- $apps[$x]['version'] = '';
|
|
|
- $apps[$x]['license'] = 'Mozilla Public License 1.1';
|
|
|
- $apps[$x]['contact_url'] = 'http://www.fusionpbx.com';
|
|
|
- $apps[$x]['description']['en-us'] = 'Provides a place to store contact information for individuals and organizations.';
|
|
|
- $apps[$x]['description']['es-mx'] = 'Provee un lugar para almacenar informacion de los contactos, para individuos u organizaciones';
|
|
|
- $apps[$x]['description']['de-de'] = '';
|
|
|
- $apps[$x]['description']['de-ch'] = '';
|
|
|
- $apps[$x]['description']['de-at'] = '';
|
|
|
+ $apps[$x]['name'] = "Contacts";
|
|
|
+ $apps[$x]['uuid'] = "04481e0e-a478-c559-adad-52bd4174574c";
|
|
|
+ $apps[$x]['category'] = "CRM";
|
|
|
+ $apps[$x]['subcategory'] = "";
|
|
|
+ $apps[$x]['version'] = "";
|
|
|
+ $apps[$x]['license'] = "Mozilla Public License 1.1";
|
|
|
+ $apps[$x]['contact_url'] = "http://www.fusionpbx.com";
|
|
|
+ $apps[$x]['description']['en-us'] = "Provides a place to store contact information for individuals and organizations.";
|
|
|
+ $apps[$x]['description']['es-mx'] = "Provee un lugar para almacenar informacion de los contactos, para individuos u organizaciones";
|
|
|
+ $apps[$x]['description']['de-de'] = "";
|
|
|
+ $apps[$x]['description']['de-ch'] = "";
|
|
|
+ $apps[$x]['description']['de-at'] = "";
|
|
|
$apps[$x]['description']['fr-fr'] = "Place pour stocker les information des contacts, personnes ou organizations.";
|
|
|
$apps[$x]['description']['fr-ca'] = "C'est un endroit pour posser information des contacts, personnes ou organizations.";
|
|
|
- $apps[$x]['description']['fr-ch'] = '';
|
|
|
- $apps[$x]['description']['pt-pt'] = 'Fornece um local para armazenar informações de contato para indivíduos e organizações.';
|
|
|
- $apps[$x]['description']['pt-br'] = '';
|
|
|
+ $apps[$x]['description']['fr-ch'] = "";
|
|
|
+ $apps[$x]['description']['pt-pt'] = "Fornece um local para armazenar informações de contato para indivíduos e organizações.";
|
|
|
+ $apps[$x]['description']['pt-br'] = "";
|
|
|
|
|
|
//menu details
|
|
|
- $apps[$x]['menu'][$y]['title']['en-us'] = 'Contacts';
|
|
|
- $apps[$x]['menu'][$y]['title']['es-mx'] = 'Contactos';
|
|
|
- $apps[$x]['menu'][$y]['title']['de-de'] = '';
|
|
|
- $apps[$x]['menu'][$y]['title']['de-ch'] = '';
|
|
|
- $apps[$x]['menu'][$y]['title']['de-at'] = '';
|
|
|
- $apps[$x]['menu'][$y]['title']['fr-fr'] = 'Contacts';
|
|
|
- $apps[$x]['menu'][$y]['title']['fr-ca'] = '';
|
|
|
- $apps[$x]['menu'][$y]['title']['fr-ch'] = '';
|
|
|
- $apps[$x]['menu'][$y]['title']['pt-pt'] = 'Contactos';
|
|
|
- $apps[$x]['menu'][$y]['title']['pt-br'] = '';
|
|
|
- $apps[$x]['menu'][$y]['uuid'] = 'f14e6ab6-6565-d4e6-cbad-a51d2e3e8ec6';
|
|
|
- $apps[$x]['menu'][$y]['parent_uuid'] = 'fd29e39c-c936-f5fc-8e2b-611681b266b5';
|
|
|
- $apps[$x]['menu'][$y]['category'] = 'internal';
|
|
|
- $apps[$x]['menu'][$y]['path'] = '/app/contacts/contacts.php';
|
|
|
- //$apps[$x]['menu'][$y]['groups'][] = 'user';
|
|
|
- $apps[$x]['menu'][$y]['groups'][] = 'admin';
|
|
|
- $apps[$x]['menu'][$y]['groups'][] = 'superadmin';
|
|
|
+ $apps[$x]['menu'][$y]['title']['en-us'] = "Contacts";
|
|
|
+ $apps[$x]['menu'][$y]['title']['es-mx'] = "Contactos";
|
|
|
+ $apps[$x]['menu'][$y]['title']['de-de'] = "";
|
|
|
+ $apps[$x]['menu'][$y]['title']['de-ch'] = "";
|
|
|
+ $apps[$x]['menu'][$y]['title']['de-at'] = "";
|
|
|
+ $apps[$x]['menu'][$y]['title']['fr-fr'] = "Contacts";
|
|
|
+ $apps[$x]['menu'][$y]['title']['fr-ca'] = "";
|
|
|
+ $apps[$x]['menu'][$y]['title']['fr-ch'] = "";
|
|
|
+ $apps[$x]['menu'][$y]['title']['pt-pt'] = "Contactos";
|
|
|
+ $apps[$x]['menu'][$y]['title']['pt-br'] = "";
|
|
|
+ $apps[$x]['menu'][$y]['uuid'] = "f14e6ab6-6565-d4e6-cbad-a51d2e3e8ec6";
|
|
|
+ $apps[$x]['menu'][$y]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5";
|
|
|
+ $apps[$x]['menu'][$y]['category'] = "internal";
|
|
|
+ $apps[$x]['menu'][$y]['path'] = "/app/contacts/contacts.php";
|
|
|
+ //$apps[$x]['menu'][$y]['groups'][] = "user";
|
|
|
+ $apps[$x]['menu'][$y]['groups'][] = "admin";
|
|
|
+ $apps[$x]['menu'][$y]['groups'][] = "superadmin";
|
|
|
|
|
|
//permission details
|
|
|
$y = 0;
|
|
|
- $apps[$x]['permissions'][$y]['name'] = 'contact_view';
|
|
|
- $apps[$x]['permissions'][$y]['menu']['uuid'] = 'f14e6ab6-6565-d4e6-cbad-a51d2e3e8ec6';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "contact_view";
|
|
|
+ $apps[$x]['permissions'][$y]['menu']['uuid'] = "f14e6ab6-6565-d4e6-cbad-a51d2e3e8ec6";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
$y++;
|
|
|
- $apps[$x]['permissions'][$y]['name'] = 'contact_add';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "contact_add";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
$y++;
|
|
|
- $apps[$x]['permissions'][$y]['name'] = 'contact_edit';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "contact_edit";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
$y++;
|
|
|
- $apps[$x]['permissions'][$y]['name'] = 'contact_delete';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "contact_delete";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
$y++;
|
|
|
- $apps[$x]['permissions'][$y]['name'] = 'contact_address_view';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "contact_address_view";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
$y++;
|
|
|
- $apps[$x]['permissions'][$y]['name'] = 'contact_address_add';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "contact_address_add";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
$y++;
|
|
|
- $apps[$x]['permissions'][$y]['name'] = 'contact_address_edit';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "contact_address_edit";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
$y++;
|
|
|
- $apps[$x]['permissions'][$y]['name'] = 'contact_address_delete';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "contact_address_delete";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
$y++;
|
|
|
- $apps[$x]['permissions'][$y]['name'] = 'contact_phone_view';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "contact_phone_view";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
$y++;
|
|
|
- $apps[$x]['permissions'][$y]['name'] = 'contact_phone_add';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "contact_phone_add";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
$y++;
|
|
|
- $apps[$x]['permissions'][$y]['name'] = 'contact_phone_edit';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "contact_phone_edit";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
$y++;
|
|
|
- $apps[$x]['permissions'][$y]['name'] = 'contact_phone_delete';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "contact_phone_delete";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
$y++;
|
|
|
- $apps[$x]['permissions'][$y]['name'] = 'contact_note_view';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "contact_note_view";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
$y++;
|
|
|
- $apps[$x]['permissions'][$y]['name'] = 'contact_note_add';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "contact_note_add";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
$y++;
|
|
|
- $apps[$x]['permissions'][$y]['name'] = 'contact_note_edit';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "contact_note_edit";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
$y++;
|
|
|
- $apps[$x]['permissions'][$y]['name'] = 'contact_note_delete';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "contact_note_delete";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
$y++;
|
|
|
- $apps[$x]['permissions'][$y]['name'] = 'contact_group_view';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "contact_group_view";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
$y++;
|
|
|
- $apps[$x]['permissions'][$y]['name'] = 'contact_group_add';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "contact_group_add";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
$y++;
|
|
|
- $apps[$x]['permissions'][$y]['name'] = 'contact_group_edit';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "contact_group_edit";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
$y++;
|
|
|
- $apps[$x]['permissions'][$y]['name'] = 'contact_group_delete';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
- $apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "contact_group_delete";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "admin";
|
|
|
|
|
|
//schema details
|
|
|
$y = 0; //table array index
|
|
|
$z = 0; //field array index
|
|
|
- $apps[$x]['db'][$y]['table'] = 'v_contacts';
|
|
|
- $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]['type']['pgsql'] = 'serial';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'integer';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'INT NOT NULL AUTO_INCREMENT';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = 'true';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_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']['mysql'] = 'char(36)';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
- $z++;
|
|
|
- $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']['sqlite'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_domains';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'v_id';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = 'true';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_parent_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']['mysql'] = 'char(36)';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_contacts';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'contact_uuid';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_type';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the type.';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_organization';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the organization.';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_name_given';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the given name.';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_name_family';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the family name.';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_nickname';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the nickname.';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_title';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the title.';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_role';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the role.';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_category';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the category.';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_email';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the email address.';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_url';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the website address.';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_time_zone';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the time zone.';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_note';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the notes.';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'created';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Date when the contact was created.';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'created_by';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'The user that created the contact.';
|
|
|
+ $apps[$x]['db'][$y]['table'] = "v_contacts";
|
|
|
+ $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]['type']['pgsql'] = "serial";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_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']['mysql'] = "char(36)";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $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']['sqlite'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_parent_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']['mysql'] = "char(36)";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_contacts";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_type";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the type.";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_organization";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the organization.";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_name_given";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the given name.";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_name_family";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the family name.";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_nickname";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the nickname.";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_title";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the title.";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_role";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the role.";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_category";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the category.";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_email";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the email address.";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_url";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the website address.";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_time_zone";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the time zone.";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_note";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the notes.";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "created";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Date when the contact was created.";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "created_by";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "The user that created the contact.";
|
|
|
|
|
|
$y = 1; //table array index
|
|
|
- $apps[$x]['db'][$y]['table'] = 'v_contact_addresses';
|
|
|
- $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']['sqlite'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
- $z++;
|
|
|
- $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']['sqlite'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_domains';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_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']['mysql'] = 'char(36)';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_contacts';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'contact_uuid';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
- $z++;
|
|
|
- //$apps[$x]['db'][$y]['fields'][$z]['name'] = 'address_name';
|
|
|
- //$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- //$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the address name.';
|
|
|
+ $apps[$x]['db'][$y]['table'] = "v_contact_addresses";
|
|
|
+ $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']['sqlite'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $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']['sqlite'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_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']['mysql'] = "char(36)";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_contacts";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ //$apps[$x]['db'][$y]['fields'][$z]['name'] = "address_name";
|
|
|
+ //$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ //$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the address name.";
|
|
|
//$z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'address_type';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the address type.';
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_type";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the address type.";
|
|
|
$z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'address_street';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the street address.';
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_street";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the street address.";
|
|
|
$z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'address_extended';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter teh extended address.';
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_extended";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter teh extended address.";
|
|
|
$z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'address_locality';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the city.';
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_locality";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the city.";
|
|
|
$z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'address_region';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the state or province.';
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_region";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the state or province.";
|
|
|
$z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'address_postal_code';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the postal code.';
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_postal_code";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the postal code.";
|
|
|
$z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'address_country';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the country.';
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_country";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the country.";
|
|
|
$z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'address_latitude';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the latitude.';
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_latitude";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the latitude.";
|
|
|
$z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'address_longitude';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the longitude.';
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_longitude";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the longitude.";
|
|
|
$z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'address_description';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the description.';
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_description";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
|
|
|
$z++;
|
|
|
|
|
|
$y = 2; //table array index
|
|
|
- $apps[$x]['db'][$y]['table'] = 'v_contact_phones';
|
|
|
- $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']['sqlite'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
- $z++;
|
|
|
- $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']['sqlite'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_domains';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_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']['mysql'] = 'char(36)';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_contacts';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'contact_uuid';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'phone_type';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the phone type.';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'phone_number';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the phone number.';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'phone_extension';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the extension.';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'phone_description';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the description.';
|
|
|
+ $apps[$x]['db'][$y]['table'] = "v_contact_phones";
|
|
|
+ $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']['sqlite'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $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']['sqlite'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_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']['mysql'] = "char(36)";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_contacts";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "phone_type";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the phone type.";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "phone_number";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the phone number.";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "phone_extension";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the extension.";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "phone_description";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
|
|
|
$z++;
|
|
|
|
|
|
$y = 3; //table array index
|
|
|
- $apps[$x]['db'][$y]['table'] = 'v_contact_notes';
|
|
|
- $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]['type']['pgsql'] = 'serial';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'integer';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'INT NOT NULL AUTO_INCREMENT';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = 'true';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_note_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']['mysql'] = 'char(36)';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
- $z++;
|
|
|
- $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']['sqlite'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_domains';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'v_id';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = 'true';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_id';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'numeric';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Contact ID';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = 'true';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_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']['mysql'] = 'char(36)';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_contacts';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'contact_uuid';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'contact_note';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'notes';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'last_mod_date';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'last_mod_user';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
+ $apps[$x]['db'][$y]['table'] = "v_contact_notes";
|
|
|
+ $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]['type']['pgsql'] = "serial";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_note_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']['mysql'] = "char(36)";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $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']['sqlite'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_id";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Contact ID";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_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']['mysql'] = "char(36)";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_contacts";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "contact_note";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "notes";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "last_mod_date";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "last_mod_user";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
$z++;
|
|
|
|
|
|
$y = 4; //table array index
|
|
|
- $apps[$x]['db'][$y]['table'] = 'v_contact_groups';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_groups_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']['mysql'] = 'char(36)';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
- $z++;
|
|
|
- $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']['sqlite'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_domains';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'contact_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']['mysql'] = 'char(36)';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_contacts';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'contact_uuid';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
- $z++;
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'group_name';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
+ $apps[$x]['db'][$y]['table'] = "v_contact_groups";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_groups_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']['mysql'] = "char(36)";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $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']['sqlite'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_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']['mysql'] = "char(36)";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_contacts";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "group_name";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
?>
|