app_config.php 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447
  1. <?php
  2. //application details
  3. $apps[$x]['name'] = "Schemas";
  4. $apps[$x]['uuid'] = "8e98d409-8134-d33c-be70-fcee63d67a64";
  5. $apps[$x]['category'] = "System";
  6. $apps[$x]['subcategory'] = "";
  7. $apps[$x]['version'] = "";
  8. $apps[$x]['license'] = "Mozilla Public License 1.1";
  9. $apps[$x]['url'] = "http://www.fusionpbx.com";
  10. $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.";
  11. $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.";
  12. $apps[$x]['description']['es-mx'] = "";
  13. $apps[$x]['description']['de-de'] = "";
  14. $apps[$x]['description']['de-ch'] = "";
  15. $apps[$x]['description']['de-at'] = "";
  16. $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.";
  17. $apps[$x]['description']['fr-ca'] = "";
  18. $apps[$x]['description']['fr-ch'] = "";
  19. $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.";
  20. $apps[$x]['description']['pt-br'] = "";
  21. //permission details
  22. $y = 0;
  23. $apps[$x]['permissions'][$y]['name'] = "schema_view";
  24. $apps[$x]['permissions'][$y]['menu']['uuid'] = "6be94b46-2126-947f-2365-0bea23651a6b";
  25. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  26. $y++;
  27. $apps[$x]['permissions'][$y]['name'] = "schema_add";
  28. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  29. $y++;
  30. $apps[$x]['permissions'][$y]['name'] = "schema_edit";
  31. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  32. $y++;
  33. $apps[$x]['permissions'][$y]['name'] = "schema_delete";
  34. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  35. $y++;
  36. $apps[$x]['permissions'][$y]['name'] = "schema_data_view";
  37. $apps[$x]['permissions'][$y]['menu']['uuid'] = "6be94b46-2126-947f-2365-0bea23651a6b";
  38. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  39. $y++;
  40. $apps[$x]['permissions'][$y]['name'] = "schema_data_add";
  41. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  42. $y++;
  43. $apps[$x]['permissions'][$y]['name'] = "schema_data_edit";
  44. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  45. $y++;
  46. $apps[$x]['permissions'][$y]['name'] = "schema_data_delete";
  47. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  48. $y++;
  49. $apps[$x]['permissions'][$y]['name'] = "schema_name_value_view";
  50. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  51. $y++;
  52. $apps[$x]['permissions'][$y]['name'] = "schema_name_value_add";
  53. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  54. $y++;
  55. $apps[$x]['permissions'][$y]['name'] = "schema_name_value_edit";
  56. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  57. $y++;
  58. $apps[$x]['permissions'][$y]['name'] = "schema_name_value_delete";
  59. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  60. $y++;
  61. $apps[$x]['permissions'][$y]['name'] = "schema_field_view";
  62. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  63. $y++;
  64. $apps[$x]['permissions'][$y]['name'] = "schema_field_add";
  65. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  66. $y++;
  67. $apps[$x]['permissions'][$y]['name'] = "schema_field_edit";
  68. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  69. $y++;
  70. $apps[$x]['permissions'][$y]['name'] = "schema_field_delete";
  71. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  72. //schema details
  73. $y=0;
  74. $apps[$x]['db'][$y]['table']['name'] = "v_schema_data";
  75. $apps[$x]['db'][$y]['table']['parent'] = "v_schemas";
  76. $z=0;
  77. //$apps[$x]['db'][$y]['table']['text'] = "v_schema_data";
  78. //$apps[$x]['db'][$y]['table']['deprecated'] = "v_virtual_table_data";
  79. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
  80. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_data_id";
  81. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
  82. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
  83. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
  84. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  85. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  86. $z++;
  87. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "schema_data_uuid";
  88. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_data_uuid";
  89. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  90. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  91. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  92. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  93. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  94. $z++;
  95. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  96. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  97. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  98. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  99. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  100. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  101. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  102. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  103. $z++;
  104. $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
  105. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  106. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  107. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  108. $z++;
  109. $apps[$x]['db'][$y]['fields'][$z]['name'] = "virtual_table_id";
  110. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  111. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  112. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  113. $z++;
  114. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "schema_uuid";
  115. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_uuid";
  116. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  117. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  118. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  119. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  120. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_schemas";
  121. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "schema_uuid";
  122. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  123. $z++;
  124. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "data_row_uuid";
  125. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_data_row_uuid";
  126. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  127. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  128. $z++;
  129. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "field_name";
  130. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_name";
  131. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  132. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  133. $z++;
  134. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "data_field_value";
  135. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_data_field_value";
  136. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  137. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  138. $z++;
  139. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "data_add_user";
  140. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_data_add_user";
  141. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  142. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  143. $z++;
  144. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "data_add_date";
  145. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_data_add_date";
  146. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  147. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  148. $z++;
  149. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "data_del_user";
  150. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_data_del_user";
  151. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  152. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  153. $z++;
  154. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "data_del_date";
  155. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_data_del_date";
  156. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  157. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  158. $z++;
  159. $apps[$x]['db'][$y]['fields'][$z]['name'] = "table_parent_id";
  160. $apps[$x]['db'][$y]['fields'][$z]['name'] = "virtual_table_parent_id";
  161. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  162. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  163. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  164. $z++;
  165. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "schema_parent_uuid";
  166. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_parent_uuid";
  167. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  168. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  169. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  170. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  171. $z++;
  172. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "data_parent_row_uuid";
  173. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_data_parent_row_uuid";
  174. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  175. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  176. $y=1; //table array index
  177. $apps[$x]['db'][$y]['table']['name'] = "v_schema_name_values";
  178. $apps[$x]['db'][$y]['table']['parent'] = "v_schemas";
  179. $z=0;
  180. //$apps[$x]['db'][$y]['table']['text'] = "v_schema_name_values";
  181. //$apps[$x]['db'][$y]['table']['deprecated'] = "v_virtual_table_name_values";
  182. $apps[$x]['db'][$y]['fields'][$z]['name'] = "virtual_table_data_types_name_value_id";
  183. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
  184. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
  185. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
  186. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  187. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  188. $z++;
  189. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "schema_name_value_uuid";
  190. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_name_value_uuid";
  191. //$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_data_types_name_value_uuid";
  192. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  193. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  194. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  195. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  196. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  197. $z++;
  198. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  199. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  200. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  201. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  202. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  203. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  204. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  205. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  206. $z++;
  207. $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
  208. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  209. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  210. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  211. $z++;
  212. $apps[$x]['db'][$y]['fields'][$z]['name'] = "virtual_table_id";
  213. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  214. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  215. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  216. $z++;
  217. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "schema_uuid";
  218. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_uuid";
  219. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  220. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  221. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  222. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  223. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_schemas";
  224. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "schema_uuid";
  225. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  226. $z++;
  227. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "table_field_id";
  228. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_field_id";
  229. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  230. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  231. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  232. $z++;
  233. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "schema_field_uuid";
  234. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_field_uuid";
  235. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  236. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  237. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  238. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  239. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_schema_fields";
  240. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "schema_field_uuid";
  241. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  242. $z++;
  243. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "data_types_name";
  244. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_data_types_name";
  245. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  246. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  247. $z++;
  248. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "data_types_value";
  249. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_data_types_value";
  250. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  251. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  252. $y=2; //table array index
  253. $apps[$x]['db'][$y]['table']['name'] = "v_schema_fields";
  254. $apps[$x]['db'][$y]['table']['parent'] = "v_schemas";
  255. $z=0;
  256. //$apps[$x]['db'][$y]['table']['text'] = "v_schema_fields";
  257. //$apps[$x]['db'][$y]['table']['deprecated'] = "v_virtual_table_fields";
  258. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "schema_field_id";
  259. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_field_id";
  260. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
  261. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
  262. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
  263. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  264. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  265. $z++;
  266. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "schema_field_uuid";
  267. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_field_uuid";
  268. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  269. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  270. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  271. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  272. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  273. $z++;
  274. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  275. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  276. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  277. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  278. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  279. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  280. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  281. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  282. $z++;
  283. $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
  284. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  285. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  286. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  287. $z++;
  288. $apps[$x]['db'][$y]['fields'][$z]['name'] = "virtual_table_id";
  289. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  290. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  291. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  292. $z++;
  293. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "schema_uuid";
  294. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_uuid";
  295. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  296. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  297. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  298. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  299. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_schemas";
  300. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "schema_uuid";
  301. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  302. $z++;
  303. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "field_label";
  304. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_label";
  305. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  306. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  307. $z++;
  308. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "field_name";
  309. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_name";
  310. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  311. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  312. $z++;
  313. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "field_type";
  314. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_type";
  315. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  316. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  317. $z++;
  318. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "field_list_hidden";
  319. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_list_hidden";
  320. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  321. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  322. $z++;
  323. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "field_search_by";
  324. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_search_by";
  325. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  326. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  327. $z++;
  328. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "field_column";
  329. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_column";
  330. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  331. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  332. $z++;
  333. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "field_required";
  334. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_required";
  335. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  336. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  337. $z++;
  338. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "field_order";
  339. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_order";
  340. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  341. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  342. $z++;
  343. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "field_order_tab";
  344. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_order_tab";
  345. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  346. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  347. $z++;
  348. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "field_value";
  349. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_value";
  350. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  351. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  352. $z++;
  353. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "field_description";
  354. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_field_description";
  355. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  356. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  357. $y=3; //table array index
  358. $apps[$x]['db'][$y]['table']['name'] = "v_schemas";
  359. $apps[$x]['db'][$y]['table']['parent'] = "";
  360. $z=0;
  361. //$apps[$x]['db'][$y]['table']['text'] = "v_schemas";
  362. //$apps[$x]['db'][$y]['table']['deprecated'] = "v_virtual_tables";
  363. $apps[$x]['db'][$y]['fields'][$z]['name'] = "virtual_table_id";
  364. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
  365. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
  366. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
  367. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  368. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  369. $z++;
  370. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "schema_uuid";
  371. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_uuid";
  372. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  373. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  374. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  375. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  376. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  377. $z++;
  378. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  379. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  380. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  381. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  382. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  383. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  384. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  385. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  386. $z++;
  387. $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
  388. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  389. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  390. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  391. $z++;
  392. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "schema_category";
  393. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_category";
  394. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  395. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  396. $z++;
  397. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "schema_label";
  398. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_label";
  399. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  400. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  401. $z++;
  402. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "schema_name";
  403. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_name";
  404. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  405. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  406. $z++;
  407. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "schema_auth";
  408. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_auth";
  409. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  410. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  411. $z++;
  412. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "schema_captcha";
  413. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_captcha";
  414. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  415. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  416. $z++;
  417. $apps[$x]['db'][$y]['fields'][$z]['name'] = "virtual_table_parent_id";
  418. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  419. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  420. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  421. $z++;
  422. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "schema_parent_uuid";
  423. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_parent_uuid";
  424. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  425. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  426. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  427. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  428. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_schemas";
  429. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "schema_uuid";
  430. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  431. $z++;
  432. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "schema_description";
  433. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "virtual_table_description";
  434. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  435. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  436. ?>