From 7cb98365748e01e1d1021d9594e22458d7832ed2 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 3 Dec 2022 19:23:58 -0700 Subject: [PATCH] Update version to 1.1 Deprecate the v_call_recordings table --- app/call_recordings/app_config.php | 77 +----------------------------- 1 file changed, 1 insertion(+), 76 deletions(-) diff --git a/app/call_recordings/app_config.php b/app/call_recordings/app_config.php index 1b89ba4393..069b4a8317 100644 --- a/app/call_recordings/app_config.php +++ b/app/call_recordings/app_config.php @@ -5,7 +5,7 @@ $apps[$x]['uuid'] = '56165644-598d-4ed8-be01-d960bcb8ffed'; $apps[$x]['category'] = ''; $apps[$x]['subcategory'] = ''; - $apps[$x]['version'] = ''; + $apps[$x]['version'] = '1.1'; $apps[$x]['license'] = 'Mozilla Public License 1.1'; $apps[$x]['url'] = 'http://www.fusionpbx.com'; $apps[$x]['description']['en-us'] = 'Call Recordings'; @@ -35,79 +35,4 @@ $apps[$x]['permissions'][$y]['name'] = 'call_recording_download'; $apps[$x]['permissions'][$y]['groups'][] = 'superadmin'; - //Call Recordings - $y = 2; - $apps[$x]['db'][$y]['table']['name'] = 'v_call_recordings'; - $apps[$x]['db'][$y]['table']['parent'] = ''; - $z = 0; - $apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_recording_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'; - $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'; - $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_recording_name'; - $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; - $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true'; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ''; - $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_recording_path'; - $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; - $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true'; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ''; - $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_recording_length'; - $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'] = 'call_recording_date'; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz'; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date'; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date'; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ''; - $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_direction'; - $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'] = 'call_recording_description'; - $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'] = 'call_recording_base64'; - $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'] = "insert_date"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz'; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date'; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date'; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; - $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user"; - $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-us'] = ""; - $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz'; - $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date'; - $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date'; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; - $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user"; - $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-us'] = ""; - ?>