From d2eb6e3ad5ed21cd8a8c4efa3780d423d7eacea2 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 12 Jan 2017 23:19:37 -0700 Subject: [PATCH] Update app_config.php --- app/edit/app_config.php | 259 ++++++++++++++++++++++++---------------- 1 file changed, 155 insertions(+), 104 deletions(-) diff --git a/app/edit/app_config.php b/app/edit/app_config.php index 1b24bb7cf5..ed36273447 100644 --- a/app/edit/app_config.php +++ b/app/edit/app_config.php @@ -1,109 +1,160 @@ \ No newline at end of file +//schema details + $y = 0; //table array index + $z = 0; //field array index + $apps[$x]['db'][$y]['table'] = "v_clips"; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "clip_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'] = "clip_name"; + $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'] = "clip_folder"; + $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'] = "clip_text_start"; + $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'] = "clip_text_end"; + $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'] = "clip_order"; + $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'] = "clip_desc"; + $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; + +?>