From 25e3dbced34545d1526ddf155fd9995c91718af9 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 15 Feb 2017 22:25:48 -0700 Subject: [PATCH] Update app_config.php --- app/dialplan/app_config.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/app/dialplan/app_config.php b/app/dialplan/app_config.php index 7818de5a9e..6e69dc1da4 100644 --- a/app/dialplan/app_config.php +++ b/app/dialplan/app_config.php @@ -21,7 +21,7 @@ $apps[$x]['description']['pt-br'] = ""; //permission details - $y = 0; + $y=0; $apps[$x]['permissions'][$y]['name'] = "dialplan_view"; $apps[$x]['permissions'][$y]['menu']['uuid'] = "b94e8bd9-9eb5-e427-9c26-ff7a6c21552a"; $apps[$x]['permissions'][$y]['groups'][] = "admin"; @@ -67,9 +67,10 @@ $y++; //schema details - $y = 0; //table array index - $z = 0; //field array index - $apps[$x]['db'][$y]['table'] = "v_dialplans"; + $y=0; + $apps[$x]['db'][$y]['table']['name'] = "v_dialplans"; + $apps[$x]['db'][$y]['table']['parent'] = ""; + $z=0; $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"; @@ -130,9 +131,10 @@ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; - $y = 1; //table array index - $z = 0; //field array index - $apps[$x]['db'][$y]['table'] = "v_dialplan_details"; + $y++; + $apps[$x]['db'][$y]['table']['name'] = "v_dialplan_details"; + $apps[$x]['db'][$y]['table']['parent'] = "v_dialplans"; + $z=0; $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";