app_config.php 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474
  1. <?php
  2. //application details
  3. $apps[$x]['name'] = "User Manager";
  4. $apps[$x]['uuid'] = "112124b3-95c2-5352-7e9d-d14c0b88f207";
  5. $apps[$x]['category'] = "Core";
  6. $apps[$x]['subcategory'] = "";
  7. $apps[$x]['version'] = "1.1";
  8. $apps[$x]['license'] = "Mozilla Public License 1.1";
  9. $apps[$x]['url'] = "http://www.fusionpbx.com";
  10. $apps[$x]['description']['en-us'] = "Add, edit, delete, and search for users.";
  11. $apps[$x]['description']['en-gb'] = "Add, edit, delete, and search for users.";
  12. $apps[$x]['description']['ar-eg'] = "";
  13. $apps[$x]['description']['de-at'] = "Benutzer hinzufügen, bearbeiten, löschen und suchen.";
  14. $apps[$x]['description']['de-ch'] = "";
  15. $apps[$x]['description']['de-de'] = "Benutzer hinzufügen, bearbeiten, löschen und suchen.";
  16. $apps[$x]['description']['es-cl'] = "Agregar, Editar, Eliminar y Buscar Usuarios.";
  17. $apps[$x]['description']['es-mx'] = "Agregar, Editar, Eliminar y Buscar Usuarios.";
  18. $apps[$x]['description']['fr-ca'] = "Ajouter, Editer, Supprimer et Chercher des Utilisateurs";
  19. $apps[$x]['description']['fr-fr'] = "Ajouter, Editer, Supprimer et Chercher des Utilisateurs";
  20. $apps[$x]['description']['he-il'] = "";
  21. $apps[$x]['description']['it-it'] = "";
  22. $apps[$x]['description']['nl-nl'] = "";
  23. $apps[$x]['description']['pl-pl'] = "";
  24. $apps[$x]['description']['pt-br'] = "Adicionar, editar, apagar e pesquisar usuários.";
  25. $apps[$x]['description']['pt-pt'] = "Adicionar, editar, apagar e pesquisa pelos utilizadores.";
  26. $apps[$x]['description']['ro-ro'] = "";
  27. $apps[$x]['description']['ru-ru'] = "Добавление, редактирование, удаление и поиск пользователей";
  28. $apps[$x]['description']['sv-se'] = "";
  29. $apps[$x]['description']['uk-ua'] = "";
  30. //permission details
  31. $y=0;
  32. $apps[$x]['permissions'][$y]['name'] = "user_view";
  33. $apps[$x]['permissions'][$y]['menu']['uuid'] = "0d57cc1e-1874-47b9-7ddd-fe1f57cec99b";
  34. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  35. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  36. $y++;
  37. $apps[$x]['permissions'][$y]['name'] = "user_add";
  38. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  39. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  40. $y++;
  41. $apps[$x]['permissions'][$y]['name'] = "user_edit";
  42. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  43. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  44. $y++;
  45. $apps[$x]['permissions'][$y]['name'] = "user_delete";
  46. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  47. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  48. $y++;
  49. $apps[$x]['permissions'][$y]['name'] = "user_groups";
  50. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  51. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  52. $y++;
  53. $apps[$x]['permissions'][$y]['name'] = "user_domain";
  54. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  55. $y++;
  56. $apps[$x]['permissions'][$y]['name'] = "user_all";
  57. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  58. $y++;
  59. $apps[$x]['permissions'][$y]['name'] = "user_import";
  60. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  61. $y++;
  62. $apps[$x]['permissions'][$y]['name'] = "user_type";
  63. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  64. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  65. $y++;
  66. $apps[$x]['permissions'][$y]['name'] = "user_group_view";
  67. $apps[$x]['permissions'][$y]['menu']['uuid'] = "3b4acc6d-827b-f537-bf21-0093d94ffec7";
  68. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  69. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  70. $y++;
  71. $apps[$x]['permissions'][$y]['name'] = "user_group_add";
  72. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  73. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  74. $y++;
  75. $apps[$x]['permissions'][$y]['name'] = "user_group_edit";
  76. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  77. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  78. $y++;
  79. $apps[$x]['permissions'][$y]['name'] = "user_group_delete";
  80. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  81. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  82. $y++;
  83. $apps[$x]['permissions'][$y]['name'] = "api_key";
  84. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  85. $y++;
  86. $apps[$x]['permissions'][$y]['name'] = "view_users";
  87. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  88. $y++;
  89. $apps[$x]['permissions'][$y]['name'] = "user_status";
  90. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  91. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  92. $apps[$x]['permissions'][$y]['groups'][] = "users";
  93. //default settings
  94. $y=0;
  95. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "38cf53d2-5fae-43ed-be93-33b0a5cc1c38";
  96. $apps[$x]['default_settings'][$y]['default_setting_category'] = "users";
  97. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "unique";
  98. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  99. $apps[$x]['default_settings'][$y]['default_setting_value'] = "global";
  100. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
  101. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  102. $y++;
  103. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "53cc1060-78f9-44ca-b9b0-17fb2fffd5e1";
  104. $apps[$x]['default_settings'][$y]['default_setting_category'] = "users";
  105. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "username_format";
  106. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  107. $apps[$x]['default_settings'][$y]['default_setting_value'] = "any";
  108. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  109. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Require a specific username format.";
  110. $y++;
  111. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "e3f5f4cd-0f17-428a-b788-2f2db91b6dc7";
  112. $apps[$x]['default_settings'][$y]['default_setting_category'] = "users";
  113. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "password_length";
  114. $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
  115. $apps[$x]['default_settings'][$y]['default_setting_value'] = "12";
  116. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  117. $apps[$x]['default_settings'][$y]['default_setting_description'] = "The default length of characters in a user password.";
  118. $y++;
  119. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "51c106d9-9aba-436b-b9b1-ff4937cef706";
  120. $apps[$x]['default_settings'][$y]['default_setting_category'] = "users";
  121. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "password_number";
  122. $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean";
  123. $apps[$x]['default_settings'][$y]['default_setting_value'] = "true";
  124. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  125. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set whether to require at least one number in user passwords.";
  126. $y++;
  127. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "f0e601b9-b619-4247-9624-c33605e96fd8";
  128. $apps[$x]['default_settings'][$y]['default_setting_category'] = "users";
  129. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "password_lowercase";
  130. $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean";
  131. $apps[$x]['default_settings'][$y]['default_setting_value'] = "true";
  132. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  133. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set whether to require at least one lowecase letter in user passwords.";
  134. $y++;
  135. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "973b6773-dac0-4041-844e-71c48fc9542c";
  136. $apps[$x]['default_settings'][$y]['default_setting_category'] = "users";
  137. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "password_uppercase";
  138. $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean";
  139. $apps[$x]['default_settings'][$y]['default_setting_value'] = "true";
  140. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  141. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set whether to require at least one uppercase letter in user passwords.";
  142. $y++;
  143. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "a6b6d9cc-fb25-4bc3-ad85-fa530d9b334d";
  144. $apps[$x]['default_settings'][$y]['default_setting_category'] = "users";
  145. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "password_special";
  146. $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean";
  147. $apps[$x]['default_settings'][$y]['default_setting_value'] = "false";
  148. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  149. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set whether to require at least one special character in user passwords.";
  150. $y++;
  151. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "727977e5-8b5f-4d80-af37-41fd3a4a1859";
  152. $apps[$x]['default_settings'][$y]['default_setting_category'] = "limit";
  153. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "users";
  154. $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
  155. $apps[$x]['default_settings'][$y]['default_setting_value'] = "3";
  156. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
  157. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  158. $y++;
  159. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "04b1e1e6-064a-4112-ba84-e33cd3a87170";
  160. $apps[$x]['default_settings'][$y]['default_setting_category'] = "users";
  161. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "max_retry";
  162. $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
  163. $apps[$x]['default_settings'][$y]['default_setting_value'] = "5";
  164. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  165. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Login blocked after reaching the max retries.";
  166. $y++;
  167. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "ee3ae838-90fd-4849-81c4-8ca9bb612125";
  168. $apps[$x]['default_settings'][$y]['default_setting_category'] = "users";
  169. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "find_time";
  170. $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
  171. $apps[$x]['default_settings'][$y]['default_setting_value'] = "3600";
  172. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  173. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Login blocked for many failures in a given time.";
  174. //schema details
  175. $y=0;
  176. $apps[$x]['db'][$y]['table']['name'] = "v_users";
  177. $apps[$x]['db'][$y]['table']['parent'] = "";
  178. $z=0;
  179. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_uuid";
  180. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  181. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  182. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  183. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  184. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  185. $z++;
  186. $apps[$x]['db'][$y]['fields'][$z]['name'] = "id";
  187. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
  188. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
  189. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
  190. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  191. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  192. $z++;
  193. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  194. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  195. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  196. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  197. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  198. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  199. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  200. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  201. $z++;
  202. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_uuid";
  203. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  204. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  205. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  206. //$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  207. //$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_contacts";
  208. //$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
  209. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  210. $z++;
  211. $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
  212. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  213. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  214. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  215. $z++;
  216. $apps[$x]['db'][$y]['fields'][$z]['name'] = "username";
  217. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  218. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  219. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  220. $z++;
  221. $apps[$x]['db'][$y]['fields'][$z]['name'] = "password";
  222. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  223. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  224. $z++;
  225. $apps[$x]['db'][$y]['fields'][$z]['name'] = "salt";
  226. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  227. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  228. $z++;
  229. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_email";
  230. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  231. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  232. $z++;
  233. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "user_status";
  234. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "userstatus";
  235. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  236. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  237. $z++;
  238. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "user_time_zone";
  239. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "usertimezone";
  240. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  241. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  242. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  243. $z++;
  244. $apps[$x]['db'][$y]['fields'][$z]['name'] = "api_key";
  245. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "text";
  246. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  247. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  248. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  249. $z++;
  250. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_totp_secret";
  251. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  252. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  253. $z++;
  254. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_type";
  255. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  256. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  257. $z++;
  258. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_enabled";
  259. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  260. $apps[$x]['db'][$y]['fields'][$z]['toggle'] = ['true','false'];
  261. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  262. $z++;
  263. $apps[$x]['db'][$y]['fields'][$z]['name'] = "add_user";
  264. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  265. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  266. $z++;
  267. $apps[$x]['db'][$y]['fields'][$z]['name'] = "add_date";
  268. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  269. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  270. $z++;
  271. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  272. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  273. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  274. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  275. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  276. $z++;
  277. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  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]['description']['en-us'] = "";
  282. $z++;
  283. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  284. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  285. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  286. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  287. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  288. $z++;
  289. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  290. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  291. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  292. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  293. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  294. $y++;
  295. $apps[$x]['db'][$y]['table']['name']['text'] = "v_user_groups";
  296. $apps[$x]['db'][$y]['table']['name']['deprecated'] = "v_group_users";
  297. $apps[$x]['db'][$y]['table']['parent'] = "v_users";
  298. $z=0;
  299. $apps[$x]['db'][$y]['fields'][$z]['name'] = "id";
  300. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
  301. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
  302. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
  303. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  304. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  305. $z++;
  306. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "user_group_uuid";
  307. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "group_user_uuid";
  308. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  309. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  310. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  311. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  312. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  313. $z++;
  314. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  315. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  316. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  317. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  318. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  319. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  320. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  321. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  322. $z++;
  323. $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
  324. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  325. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  326. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  327. $z++;
  328. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "group_name";
  329. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "groupid";
  330. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  331. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  332. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  333. $z++;
  334. $apps[$x]['db'][$y]['fields'][$z]['name'] = "group_uuid";
  335. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  336. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  337. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  338. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  339. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_groups";
  340. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "group_uuid";
  341. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  342. $z++;
  343. $apps[$x]['db'][$y]['fields'][$z]['name'] = "username";
  344. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  345. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  346. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  347. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  348. $z++;
  349. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_uuid";
  350. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  351. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  352. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  353. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  354. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_users";
  355. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "user_uuid";
  356. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  357. $z++;
  358. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  359. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  360. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  361. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  362. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  363. $z++;
  364. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  365. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  366. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  367. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  368. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  369. $z++;
  370. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  371. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  372. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  373. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  374. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  375. $z++;
  376. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  377. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  378. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  379. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  380. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  381. $y++;
  382. $apps[$x]['db'][$y]['table']['name'] = "v_user_settings";
  383. $apps[$x]['db'][$y]['table']['parent'] = "v_users";
  384. $z=0;
  385. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_uuid";
  386. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  387. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  388. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  389. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  390. $z++;
  391. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_uuid";
  392. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  393. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  394. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  395. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  396. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_users";
  397. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "user_uuid";
  398. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  399. $z++;
  400. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  401. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  402. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  403. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  404. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  405. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  406. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  407. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  408. $z++;
  409. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_category";
  410. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  411. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  412. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the category.";
  413. $z++;
  414. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_subcategory";
  415. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  416. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  417. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the subcategory.";
  418. $z++;
  419. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_name";
  420. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  421. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  422. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the name.";
  423. $z++;
  424. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_value";
  425. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  426. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the value.";
  427. $z++;
  428. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_order";
  429. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  430. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  431. $z++;
  432. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_enabled";
  433. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "boolean";
  434. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  435. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "text";
  436. $apps[$x]['db'][$y]['fields'][$z]['toggle'] = ['true','false'];
  437. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  438. $z++;
  439. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_description";
  440. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  441. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  442. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  443. $z++;
  444. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  445. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  446. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  447. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  448. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  449. $z++;
  450. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  451. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  452. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  453. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  454. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  455. $z++;
  456. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  457. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  458. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  459. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  460. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  461. $z++;
  462. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  463. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  464. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  465. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  466. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  467. ?>