app_config.php 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  1. <?php
  2. //application details
  3. $apps[$x]['name'] = "Menu Manager";
  4. $apps[$x]['uuid'] = "f4b3b3d2-6287-489c-2a00-64529e46f2d7";
  5. $apps[$x]['category'] = "Core";
  6. $apps[$x]['subcategory'] = "";
  7. $apps[$x]['version'] = "1.0";
  8. $apps[$x]['license'] = "Mozilla Public License 1.1";
  9. $apps[$x]['url'] = "http://www.fusionpbx.com";
  10. $apps[$x]['description']['en-us'] = "The menu can be customized using this tool.";
  11. $apps[$x]['description']['en-gb'] = "The menu can be customized using this tool.";
  12. $apps[$x]['description']['ar-eg'] = "";
  13. $apps[$x]['description']['de-at'] = "Das Menü kann mit diesem Werkzeug angepasst werden.";
  14. $apps[$x]['description']['de-ch'] = "";
  15. $apps[$x]['description']['de-de'] = "Das Menü kann mit diesem Werkzeug angepasst werden.";
  16. $apps[$x]['description']['es-cl'] = "El menú puede ser personalizado utilizando esta herramienta";
  17. $apps[$x]['description']['es-mx'] = "";
  18. $apps[$x]['description']['fr-ca'] = "";
  19. $apps[$x]['description']['fr-fr'] = "Le menu peut être personnalisé ici";
  20. $apps[$x]['description']['he-il'] = "";
  21. $apps[$x]['description']['it-it'] = "";
  22. $apps[$x]['description']['ka-ge'] = "ამ ხელსაწყოთი შეგიძლიათ მენიუს ჩასწორება.";
  23. $apps[$x]['description']['nl-nl'] = "";
  24. $apps[$x]['description']['pl-pl'] = "";
  25. $apps[$x]['description']['pt-br'] = "Os menus podem ser personalizados com esta ferramenta.";
  26. $apps[$x]['description']['pt-pt'] = "O menu pode ser personalizado utilizando esta ferramenta.";
  27. $apps[$x]['description']['ro-ro'] = "";
  28. $apps[$x]['description']['ru-ru'] = "Меню можно настроить с помощью этого инструмента";
  29. $apps[$x]['description']['sv-se'] = "";
  30. $apps[$x]['description']['uk-ua'] = "";
  31. //permission details
  32. $y=0;
  33. $apps[$x]['permissions'][$y]['name'] = "menu_view";
  34. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  35. $y++;
  36. $apps[$x]['permissions'][$y]['name'] = "menu_add";
  37. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  38. $y++;
  39. $apps[$x]['permissions'][$y]['name'] = "menu_edit";
  40. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  41. $y++;
  42. $apps[$x]['permissions'][$y]['name'] = "menu_delete";
  43. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  44. $y++;
  45. $apps[$x]['permissions'][$y]['name'] = "menu_restore";
  46. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  47. $y++;
  48. $apps[$x]['permissions'][$y]['name'] = "menu_item_view";
  49. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  50. $y++;
  51. $apps[$x]['permissions'][$y]['name'] = "menu_item_add";
  52. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  53. $y++;
  54. $apps[$x]['permissions'][$y]['name'] = "menu_item_edit";
  55. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  56. $y++;
  57. $apps[$x]['permissions'][$y]['name'] = "menu_item_delete";
  58. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  59. $y++;
  60. $apps[$x]['permissions'][$y]['name'] = "menu_item_group_view";
  61. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  62. $y++;
  63. $apps[$x]['permissions'][$y]['name'] = "menu_item_group_add";
  64. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  65. $y++;
  66. $apps[$x]['permissions'][$y]['name'] = "menu_item_group_edit";
  67. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  68. $y++;
  69. $apps[$x]['permissions'][$y]['name'] = "menu_item_group_delete";
  70. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  71. $y++;
  72. $apps[$x]['permissions'][$y]['name'] = "menu_language_view";
  73. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  74. $y++;
  75. $apps[$x]['permissions'][$y]['name'] = "menu_language_add";
  76. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  77. $y++;
  78. $apps[$x]['permissions'][$y]['name'] = "menu_language_edit";
  79. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  80. $y++;
  81. $apps[$x]['permissions'][$y]['name'] = "menu_language_delete";
  82. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  83. //schema details
  84. $y=0;
  85. $apps[$x]['db'][$y]['table']['name'] = "v_menus";
  86. $apps[$x]['db'][$y]['table']['parent'] = "";
  87. $z=0;
  88. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "menu_uuid";
  89. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_guid";
  90. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  91. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  92. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  93. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  94. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  95. $z++;
  96. $apps[$x]['db'][$y]['fields'][$z]['name'] = "menu_name";
  97. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  98. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  99. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the name of the menu.";
  100. $z++;
  101. $apps[$x]['db'][$y]['fields'][$z]['name'] = "menu_language";
  102. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  103. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  104. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the language.";
  105. $z++;
  106. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "menu_description";
  107. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_desc";
  108. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  109. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  110. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
  111. $z++;
  112. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  113. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  114. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  115. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  116. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  117. $z++;
  118. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  119. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  120. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  121. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  122. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  123. $z++;
  124. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  125. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  126. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  127. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  128. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  129. $z++;
  130. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  131. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  132. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  133. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  134. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  135. $y++;
  136. $apps[$x]['db'][$y]['table']['name'] = "v_menu_items";
  137. $apps[$x]['db'][$y]['table']['parent'] = "v_menus";
  138. $z=0;
  139. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "menu_item_uuid";
  140. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_item_guid";
  141. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  142. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  143. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  144. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  145. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  146. $z++;
  147. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "menu_uuid";
  148. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_guid";
  149. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  150. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  151. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  152. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  153. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_menus";
  154. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "menu_uuid";
  155. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  156. $z++;
  157. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "menu_item_parent_uuid";
  158. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_item_parent_guid";
  159. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  160. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  161. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  162. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  163. $z++;
  164. $apps[$x]['db'][$y]['fields'][$z]['name'] = "uuid";
  165. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  166. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  167. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  168. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  169. $z++;
  170. $apps[$x]['db'][$y]['fields'][$z]['name'] = "menu_item_title";
  171. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  172. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  173. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  174. $z++;
  175. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "menu_item_link";
  176. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_item_str";
  177. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  178. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  179. $z++;
  180. $apps[$x]['db'][$y]['fields'][$z]['name'] = "menu_item_icon";
  181. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  182. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  183. $z++;
  184. $apps[$x]['db'][$y]['fields'][$z]['name'] = "menu_item_category";
  185. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  186. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  187. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  188. $z++;
  189. $apps[$x]['db'][$y]['fields'][$z]['name'] = "menu_item_protected";
  190. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  191. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  192. $z++;
  193. $apps[$x]['db'][$y]['fields'][$z]['name'] = "menu_item_order";
  194. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  195. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  196. $z++;
  197. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "menu_item_description";
  198. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_item_desc";
  199. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  200. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  201. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  202. $z++;
  203. $apps[$x]['db'][$y]['fields'][$z]['name'] = "menu_item_add_user";
  204. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  205. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  206. $z++;
  207. $apps[$x]['db'][$y]['fields'][$z]['name'] = "menu_item_add_date";
  208. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  209. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  210. $z++;
  211. $apps[$x]['db'][$y]['fields'][$z]['name'] = "menu_item_mod_user";
  212. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  213. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  214. $z++;
  215. $apps[$x]['db'][$y]['fields'][$z]['name'] = "menu_item_mod_date";
  216. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  217. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  218. $z++;
  219. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  220. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  221. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  222. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  223. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  224. $z++;
  225. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  226. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  227. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  228. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  229. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  230. $z++;
  231. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  232. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  233. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  234. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  235. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  236. $z++;
  237. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  238. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  239. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  240. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  241. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  242. $y++;
  243. $apps[$x]['db'][$y]['table']['name'] = "v_menu_item_groups";
  244. $apps[$x]['db'][$y]['table']['parent'] = "v_menu_items";
  245. $z=0;
  246. $apps[$x]['db'][$y]['fields'][$z]['name'] = "menu_item_group_uuid";
  247. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  248. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  249. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  250. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  251. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  252. $z++;
  253. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "menu_uuid";
  254. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_guid";
  255. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  256. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  257. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  258. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  259. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_menus";
  260. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "menu_uuid";
  261. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  262. $z++;
  263. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "menu_item_uuid";
  264. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_item_guid";
  265. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  266. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  267. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  268. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  269. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_menu_items";
  270. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "menu_item_uuid";
  271. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  272. $z++;
  273. $apps[$x]['db'][$y]['fields'][$z]['name'] = "group_name";
  274. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  275. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  276. $z++;
  277. $apps[$x]['db'][$y]['fields'][$z]['name'] = "group_uuid";
  278. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  279. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  280. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  281. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  282. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_groups";
  283. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "group_uuid";
  284. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  285. $z++;
  286. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  287. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  288. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  289. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  290. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  291. $z++;
  292. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  293. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  294. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  295. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  296. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  297. $z++;
  298. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  299. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  300. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  301. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  302. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  303. $z++;
  304. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  305. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  306. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  307. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  308. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  309. $y++;
  310. $apps[$x]['db'][$y]['table']['name'] = "v_menu_languages";
  311. $apps[$x]['db'][$y]['table']['parent'] = "v_menus";
  312. $z=0;
  313. $apps[$x]['db'][$y]['fields'][$z]['name'] = "menu_language_uuid";
  314. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  315. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  316. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  317. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  318. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  319. $z++;
  320. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "menu_uuid";
  321. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_guid";
  322. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  323. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  324. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  325. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  326. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_menus";
  327. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "menu_uuid";
  328. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  329. $z++;
  330. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "menu_item_uuid";
  331. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_item_guid";
  332. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  333. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  334. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  335. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  336. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_menu_items";
  337. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "menu_item_uuid";
  338. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  339. $z++;
  340. $apps[$x]['db'][$y]['fields'][$z]['name'] = "menu_language";
  341. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  342. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  343. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  344. $z++;
  345. $apps[$x]['db'][$y]['fields'][$z]['name'] = "menu_item_title";
  346. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  347. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  348. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  349. $z++;
  350. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  351. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  352. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  353. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  354. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  355. $z++;
  356. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  357. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  358. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  359. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  360. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  361. $z++;
  362. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  363. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  364. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  365. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  366. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  367. $z++;
  368. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  369. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  370. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  371. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  372. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  373. ?>