179 lines
8.7 KiB
PHP
179 lines
8.7 KiB
PHP
<?php
|
|
|
|
//application details
|
|
$apps[$x]['name'] = "Upgrade";
|
|
$apps[$x]['uuid'] = "8b1d7eb5-1009-052c-e1a8-d1f4887a3f5c";
|
|
$apps[$x]['category'] = "Core";
|
|
$apps[$x]['subcategory'] = "";
|
|
$apps[$x]['version'] = "";
|
|
$apps[$x]['url'] = "http://www.fusionpbx.com";
|
|
$apps[$x]['description']['en-us'] = "Update or restore various system settings.";
|
|
$apps[$x]['description']['es-cl'] = "Actualiza el esquema de la base de datos";
|
|
$apps[$x]['description']['de-de'] = "";
|
|
$apps[$x]['description']['de-ch'] = "";
|
|
$apps[$x]['description']['de-at'] = "";
|
|
$apps[$x]['description']['fr-fr'] = "Mise %uFFFD jour du Sch%uFFFDma de la base de donn%uFFFDes";
|
|
$apps[$x]['description']['fr-ca'] = "";
|
|
$apps[$x]['description']['fr-ch'] = "";
|
|
$apps[$x]['description']['pt-pt'] = "Atualizar o esquema da base de dados.";
|
|
$apps[$x]['description']['pt-br'] = "";
|
|
|
|
//menu details
|
|
$apps[$x]['menu'][0]['title']['en-us'] = "Upgrade";
|
|
$apps[$x]['menu'][0]['title']['es-cl'] = "Actualizar";
|
|
$apps[$x]['menu'][0]['title']['de-de'] = "";
|
|
$apps[$x]['menu'][0]['title']['de-ch'] = "";
|
|
$apps[$x]['menu'][0]['title']['de-at'] = "";
|
|
$apps[$x]['menu'][0]['title']['fr-fr'] = "Mise à jour";
|
|
$apps[$x]['menu'][0]['title']['fr-ca'] = "";
|
|
$apps[$x]['menu'][0]['title']['fr-ch'] = "";
|
|
$apps[$x]['menu'][0]['title']['pt-pt'] = "Actualizar BD";
|
|
$apps[$x]['menu'][0]['title']['pt-br'] = "";
|
|
$apps[$x]['menu'][0]['uuid'] = "8c826e92-be3c-0944-669a-24e5b915d562";
|
|
$apps[$x]['menu'][0]['parent_uuid'] = "594d99c5-6128-9c88-ca35-4b33392cec0f";
|
|
$apps[$x]['menu'][0]['category'] = "internal";
|
|
$apps[$x]['menu'][0]['path'] = "/core/upgrade/index.php";
|
|
$apps[$x]['menu'][0]['groups'][] = "superadmin";
|
|
|
|
//permission details
|
|
$y = 0;
|
|
$apps[$x]['permissions'][$y]['name'] = "upgrade_svn";
|
|
$apps[$x]['permissions'][$y]['menu']['uuid'] = "71051909-81ff-4301-9997-52b11206b3a6";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = "upgrade_schema";
|
|
$apps[$x]['permissions'][$y]['menu']['uuid'] = "8c826e92-be3c-0944-669a-24e5b915d562";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = "upgrade_apps";
|
|
$apps[$x]['permissions'][$y]['menu']['uuid'] = "e7bb1296-3141-48c9-a95a-82d2768d0ae4";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
$y++;
|
|
|
|
//schema details
|
|
$y = 0; //table array index
|
|
$z = 0; //field array index
|
|
$apps[$x]['db'][$y]['table'] = "v_software";
|
|
$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";
|
|
$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'] = "software_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']['text'] = "software_name";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "softwarename";
|
|
$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']['text'] = "software_url";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "softwareurl";
|
|
$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']['text'] = "software_version";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "softwareversion";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
//schema details
|
|
$y = 1; //table array index
|
|
$z = 0; //field array index
|
|
$apps[$x]['db'][$y]['table'] = "v_emails";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "email_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'] = "call_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_xml_cdr";
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "uuid";
|
|
$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'] = "sent_date";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "timestamp";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "date";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "timestamp";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
$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'] = "status";
|
|
$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'] = "email";
|
|
$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'] = "";
|
|
*/
|
|
|
|
?>
|