From 9ed0b16a8502f2b7b3cc0be642c75e0688e237f5 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Fri, 14 Sep 2012 22:06:03 +0000 Subject: [PATCH] Fix the foreign key reference for conferences in app_config.php. --- app/conferences/app_config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/conferences/app_config.php b/app/conferences/app_config.php index 7ada0fd7df..144a740e17 100644 --- a/app/conferences/app_config.php +++ b/app/conferences/app_config.php @@ -65,8 +65,8 @@ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)'; $apps[$x]['db'][$y]['fields'][$z]['description']['en'] = ''; $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]['key']['reference']['table'] = 'v_dialplans'; + $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'dialplan_uuid'; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = 'conference_name'; $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';