From a3bd9144058b55c4f823221fc659746ee3ab1938 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Fri, 14 Sep 2012 22:07:33 +0000 Subject: [PATCH] Add dialplan_uuid to the call flow table. --- app/call_flows/app_config.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/call_flows/app_config.php b/app/call_flows/app_config.php index 525357facd..44f719ef26 100644 --- a/app/call_flows/app_config.php +++ b/app/call_flows/app_config.php @@ -53,6 +53,15 @@ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)'; $apps[$x]['db'][$y]['fields'][$z]['key'] = 'primary'; $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'dialplan_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]['description']['en'] = ''; + $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign'; + $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'] = 'call_flow_extension'; $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; $apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Enter the extension number.';