From ae67946d4670a87017a9d4f9aecb0f6e9cdfc553 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 15 Feb 2017 21:22:08 -0700 Subject: [PATCH] Update app_config.php --- core/upgrade/app_config.php | 57 ++++--------------------------------- 1 file changed, 6 insertions(+), 51 deletions(-) diff --git a/core/upgrade/app_config.php b/core/upgrade/app_config.php index 55cc41a13b..f6ec75ea4e 100644 --- a/core/upgrade/app_config.php +++ b/core/upgrade/app_config.php @@ -19,7 +19,7 @@ $apps[$x]['description']['pt-br'] = ""; //permission details - $y = 0; + $y=0; $apps[$x]['permissions'][$y]['name'] = "upgrade_source"; $apps[$x]['permissions'][$y]['menu']['uuid'] = "71051909-81ff-4301-9997-52b11206b3a6"; $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; @@ -37,9 +37,10 @@ $y++; //schema details - $y = 0; //table array index - $z = 0; //field array index - $apps[$x]['db'][$y]['table'] = "v_software"; + $y=0; + $apps[$x]['db'][$y]['table']['name'] = "v_software"; + $apps[$x]['db'][$y]['table']['parent'] = ""; + $z=0; $apps[$x]['db'][$y]['fields'][$z]['name'] = "id"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; @@ -69,50 +70,4 @@ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; - /* - $y = 0; //table array index - $z = 0; //field array index - $apps[$x]['db'][$y]['table'] = "v_src"; - $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "src_id"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; - $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true"; - $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "src_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"; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; - $z++; - $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"; - $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_domains"; - $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid"; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; - $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; - $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true"; - $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "type"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; - $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "last_mod"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; - $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "path"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; - */ - -?> \ No newline at end of file +?>