From 606ae8b526bed53a9ad78ae6acda04a84dcb0e55 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sun, 2 Nov 2014 09:40:47 +0000 Subject: [PATCH] Add the table name v_contact_settings --- app/contacts/app_config.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/app/contacts/app_config.php b/app/contacts/app_config.php index 90fdd56518..b3ba16db1d 100644 --- a/app/contacts/app_config.php +++ b/app/contacts/app_config.php @@ -429,6 +429,13 @@ $z++; $y = 5; //table array index + $apps[$x]['db'][$y]['table'] = "v_contact_settings"; + $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']['sqlite'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)"; + $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary"; + $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"; @@ -444,12 +451,6 @@ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)"; $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign"; $z++; - $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']['sqlite'] = "text"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)"; - $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary"; - $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_setting_category"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the category."; @@ -477,4 +478,5 @@ $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_setting_description"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; -?> + +?> \ No newline at end of file