443 lines
24 KiB
PHP
443 lines
24 KiB
PHP
<?php
|
|
|
|
//application details
|
|
$apps[$x]['name'] = "Schemas";
|
|
$apps[$x]['uuid'] = "8e98d409-8134-d33c-be70-fcee63d67a64";
|
|
$apps[$x]['category'] = "System";
|
|
$apps[$x]['subcategory'] = "";
|
|
$apps[$x]['version'] = "";
|
|
$apps[$x]['license'] = "Mozilla Public License 1.1";
|
|
$apps[$x]['url'] = "http://www.fusionpbx.com";
|
|
$apps[$x]['description']['en-us'] = "Provides the ability to quickly define information to store and dynamically makes tools available to view, add, edit, delete, and search.";
|
|
$apps[$x]['description']['es-cl'] = "Provee la habilidad de rápidamente definir información a almacenar y dinámicamente crea herramientas para ver, agregar, editar, eliminar y buscar.";
|
|
$apps[$x]['description']['es-mx'] = "";
|
|
$apps[$x]['description']['de-de'] = "";
|
|
$apps[$x]['description']['de-ch'] = "";
|
|
$apps[$x]['description']['de-at'] = "";
|
|
$apps[$x]['description']['fr-fr'] = "Fourni la possibilité de rapidement définir les informations à stocker et dynamiquement rendre disponible des outils pour voir, éditer, supprimer et chercher.";
|
|
$apps[$x]['description']['fr-ca'] = "";
|
|
$apps[$x]['description']['fr-ch'] = "";
|
|
$apps[$x]['description']['pt-pt'] = "Fornece a capacidade de definir rapidamente a informação para armazenar e dinamicamente faz ferramentas disponíveis para visualizar, adicionar, editar, apagar e pesquisa.";
|
|
$apps[$x]['description']['pt-br'] = "";
|
|
|
|
//permission details
|
|
$y = 0;
|
|
$apps[$x]['permissions'][$y]['name'] = "schema_view";
|
|
$apps[$x]['permissions'][$y]['menu']['uuid'] = "6be94b46-2126-947f-2365-0bea23651a6b";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = "schema_add";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = "schema_edit";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = "schema_delete";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = "schema_data_view";
|
|
$apps[$x]['permissions'][$y]['menu']['uuid'] = "6be94b46-2126-947f-2365-0bea23651a6b";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = "schema_data_add";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = "schema_data_edit";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = "schema_data_delete";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = "schema_name_value_view";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = "schema_name_value_add";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = "schema_name_value_edit";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = "schema_name_value_delete";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = "schema_field_view";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = "schema_field_add";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = "schema_field_edit";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = "schema_field_delete";
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
//schema details
|
|
$y = 0; //table array index
|
|
$z = 0; //field array index
|
|
$apps[$x]['db'][$y]['table'] = "v_schema_data";
|
|
//$apps[$x]['db'][$y]['table']['text'] = "v_schema_data";
|
|
//$apps[$x]['db'][$y]['table']['deprecated'] = "v_virtual_table_data";
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_data_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']['text'] = "schema_data_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_data_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'] = "virtual_table_id";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
|
|
$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']['text'] = "schema_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_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_schemas";
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "schema_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "data_row_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_data_row_uuid";
|
|
$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'] = "field_name";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_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']['text'] = "data_field_value";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_data_field_value";
|
|
$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'] = "data_add_user";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_data_add_user";
|
|
$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'] = "data_add_date";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_data_add_date";
|
|
$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'] = "data_del_user";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_data_del_user";
|
|
$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'] = "data_del_date";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_data_del_date";
|
|
$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'] = "table_parent_id";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "virtual_table_parent_id";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
|
|
$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']['text'] = "schema_parent_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_parent_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]['description']['en-us'] = "";
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "data_parent_row_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_data_parent_row_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
$y = 1; //table array index
|
|
$z = 0; //field array index
|
|
$apps[$x]['db'][$y]['table'] = "v_schema_name_values";
|
|
//$apps[$x]['db'][$y]['table']['text'] = "v_schema_name_values";
|
|
//$apps[$x]['db'][$y]['table']['deprecated'] = "v_virtual_table_name_values";
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "virtual_table_data_types_name_value_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']['text'] = "schema_name_value_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_name_value_uuid";
|
|
//$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_data_types_name_value_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'] = "virtual_table_id";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
|
|
$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']['text'] = "schema_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_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_schemas";
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "schema_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "table_field_id";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_field_id";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
|
|
$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']['text'] = "schema_field_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_field_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_schema_fields";
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "schema_field_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "data_types_name";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_data_types_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']['text'] = "data_types_value";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_data_types_value";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
$y = 2; //table array index
|
|
$z = 0; //field array index
|
|
$apps[$x]['db'][$y]['table'] = "v_schema_fields";
|
|
//$apps[$x]['db'][$y]['table']['text'] = "v_schema_fields";
|
|
//$apps[$x]['db'][$y]['table']['deprecated'] = "v_virtual_table_fields";
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "schema_field_id";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_field_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']['text'] = "schema_field_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_field_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'] = "virtual_table_id";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
|
|
$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']['text'] = "schema_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_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_schemas";
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "schema_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "field_label";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_label";
|
|
$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'] = "field_name";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_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']['text'] = "field_type";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_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']['text'] = "field_list_hidden";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_list_hidden";
|
|
$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'] = "field_search_by";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_search_by";
|
|
$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'] = "field_column";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_column";
|
|
$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'] = "field_required";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_required";
|
|
$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'] = "field_order";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_order";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "field_order_tab";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_order_tab";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "field_value";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_value";
|
|
$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'] = "field_description";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_description";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
$y = 3; //table array index
|
|
$z = 0; //field array index
|
|
$apps[$x]['db'][$y]['table'] = "v_schemas";
|
|
//$apps[$x]['db'][$y]['table']['text'] = "v_schemas";
|
|
//$apps[$x]['db'][$y]['table']['deprecated'] = "v_virtual_tables";
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "virtual_table_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']['text'] = "schema_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_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']['text'] = "schema_category";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_category";
|
|
$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'] = "schema_label";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_label";
|
|
$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'] = "schema_name";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_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']['text'] = "schema_auth";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_auth";
|
|
$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'] = "schema_captcha";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_captcha";
|
|
$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'] = "virtual_table_parent_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']['text'] = "schema_parent_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_parent_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_schemas";
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "schema_uuid";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "schema_description";
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_description";
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
?>
|