2012-06-04 16:58:40 +02:00
|
|
|
<?php
|
2014-07-16 06:30:49 +02:00
|
|
|
|
2012-06-04 16:58:40 +02:00
|
|
|
//application details
|
2014-07-10 08:05:22 +02:00
|
|
|
$apps[$x]['name'] = "Upgrade";
|
2013-10-18 00:06:53 +02:00
|
|
|
$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";
|
2014-07-10 08:05:22 +02:00
|
|
|
$apps[$x]['description']['en-us'] = "Update or restore various system settings.";
|
2014-02-13 19:09:45 +01:00
|
|
|
$apps[$x]['description']['es-cl'] = "Actualiza el esquema de la base de datos";
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['description']['de-de'] = "";
|
|
|
|
|
$apps[$x]['description']['de-ch'] = "";
|
|
|
|
|
$apps[$x]['description']['de-at'] = "";
|
2014-07-16 06:30:49 +02:00
|
|
|
$apps[$x]['description']['fr-fr'] = "Mise %uFFFD jour du Sch%uFFFDma de la base de donn%uFFFDes";
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['description']['fr-ca'] = "";
|
|
|
|
|
$apps[$x]['description']['fr-ch'] = "";
|
2014-02-25 23:49:35 +01:00
|
|
|
$apps[$x]['description']['pt-pt'] = "Atualizar o esquema da base de dados.";
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['description']['pt-br'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
//permission details
|
2014-07-10 08:05:22 +02:00
|
|
|
$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++;
|
2014-07-10 11:20:11 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "upgrade_apps";
|
2014-07-10 08:05:22 +02:00
|
|
|
$apps[$x]['permissions'][$y]['menu']['uuid'] = "e7bb1296-3141-48c9-a95a-82d2768d0ae4";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$y++;
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
//schema details
|
2014-07-02 23:41:41 +02:00
|
|
|
$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++;
|
2014-07-06 03:22:33 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "software_uuid";
|
2014-07-02 23:41:41 +02:00
|
|
|
$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'] = "";
|
|
|
|
|
|
2012-06-04 16:58:40 +02:00
|
|
|
/*
|
|
|
|
|
$y = 0; //table array index
|
|
|
|
|
$z = 0; //field array index
|
2013-10-18 00:06:53 +02:00
|
|
|
$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";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$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'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$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'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$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";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$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'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$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'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$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'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
*/
|
2014-07-16 06:30:49 +02:00
|
|
|
|
|
|
|
|
?>
|