From 65e3de0a0ccabf4907792c50719f6be2e8d3a484 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sun, 24 Mar 2019 08:10:52 -0600 Subject: [PATCH] Update app_config.php --- core/users/app_config.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/users/app_config.php b/core/users/app_config.php index 3cd1f3fecf..b84baca1c1 100644 --- a/core/users/app_config.php +++ b/core/users/app_config.php @@ -305,6 +305,8 @@ $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_users"; + $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "user_uuid"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $y++; @@ -322,6 +324,8 @@ $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_users"; + $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "user_uuid"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";