app_config.php 67 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249
  1. <?php
  2. //application details
  3. $apps[$x]['name'] = "Contacts";
  4. $apps[$x]['uuid'] = "04481e0e-a478-c559-adad-52bd4174574c";
  5. $apps[$x]['category'] = "CRM";
  6. $apps[$x]['subcategory'] = "";
  7. $apps[$x]['version'] = "2.0";
  8. $apps[$x]['license'] = "Mozilla Public License 1.1";
  9. $apps[$x]['contact_url'] = "http://www.fusionpbx.com";
  10. $apps[$x]['description']['en-us'] = "Provides a place to store contact information for individuals and organizations.";
  11. $apps[$x]['description']['en-gb'] = "Provides a place to store contact information for individuals and organizations.";
  12. $apps[$x]['description']['ar-eg'] = "";
  13. $apps[$x]['description']['de-at'] = "Bietet einen Ort um Kontaktinformationen von Personen und Firmen zu speichern.";
  14. $apps[$x]['description']['de-ch'] = "";
  15. $apps[$x]['description']['de-de'] = "Bietet einen Ort um Kontaktinformationen von Personen und Firmen zu speichern.";
  16. $apps[$x]['description']['es-cl'] = "Provee un lugar para almacenar información de los contactos, para individuos u organizaciones";
  17. $apps[$x]['description']['es-mx'] = "";
  18. $apps[$x]['description']['fr-ca'] = "C'est un endroit pour posser information des contacts, personnes ou organizations.";
  19. $apps[$x]['description']['fr-fr'] = "Place pour stocker les information des contacts, personnes ou organizations.";
  20. $apps[$x]['description']['he-il'] = "";
  21. $apps[$x]['description']['it-it'] = "";
  22. $apps[$x]['description']['nl-nl'] = "Kontacten";
  23. $apps[$x]['description']['pl-pl'] = "";
  24. $apps[$x]['description']['pt-br'] = "";
  25. $apps[$x]['description']['pt-pt'] = "Fornece um local para armazenar informações de contato para indivíduos e organizações.";
  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'] = "contact_view";
  33. $apps[$x]['permissions'][$y]['menu']['uuid'] = "f14e6ab6-6565-d4e6-cbad-a51d2e3e8ec6";
  34. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  35. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  36. $y++;
  37. $apps[$x]['permissions'][$y]['name'] = "contact_add";
  38. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  39. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  40. $y++;
  41. $apps[$x]['permissions'][$y]['name'] = "contact_edit";
  42. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  43. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  44. $y++;
  45. $apps[$x]['permissions'][$y]['name'] = "contact_delete";
  46. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  47. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  48. $y++;
  49. $apps[$x]['permissions'][$y]['name'] = "contact_all";
  50. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  51. $y++;
  52. $apps[$x]['permissions'][$y]['name'] = "contact_upload";
  53. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  54. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  55. $y++;
  56. $apps[$x]['permissions'][$y]['name'] = "contact_domain_view";
  57. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  58. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  59. $y++;
  60. $apps[$x]['permissions'][$y]['name'] = "contact_address_view";
  61. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  62. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  63. $y++;
  64. $apps[$x]['permissions'][$y]['name'] = "contact_address_add";
  65. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  66. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  67. $y++;
  68. $apps[$x]['permissions'][$y]['name'] = "contact_address_edit";
  69. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  70. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  71. $y++;
  72. $apps[$x]['permissions'][$y]['name'] = "contact_address_delete";
  73. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  74. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  75. $y++;
  76. $apps[$x]['permissions'][$y]['name'] = "contact_phone_view";
  77. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  78. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  79. $y++;
  80. $apps[$x]['permissions'][$y]['name'] = "contact_phone_add";
  81. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  82. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  83. $y++;
  84. $apps[$x]['permissions'][$y]['name'] = "contact_phone_edit";
  85. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  86. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  87. $y++;
  88. $apps[$x]['permissions'][$y]['name'] = "contact_phone_delete";
  89. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  90. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  91. $y++;
  92. $apps[$x]['permissions'][$y]['name'] = "contact_note_view";
  93. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  94. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  95. $y++;
  96. $apps[$x]['permissions'][$y]['name'] = "contact_note_add";
  97. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  98. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  99. $y++;
  100. $apps[$x]['permissions'][$y]['name'] = "contact_note_edit";
  101. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  102. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  103. $y++;
  104. $apps[$x]['permissions'][$y]['name'] = "contact_note_delete";
  105. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  106. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  107. $y++;
  108. $apps[$x]['permissions'][$y]['name'] = "contact_group_view";
  109. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  110. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  111. $y++;
  112. $apps[$x]['permissions'][$y]['name'] = "contact_group_add";
  113. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  114. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  115. $y++;
  116. $apps[$x]['permissions'][$y]['name'] = "contact_group_edit";
  117. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  118. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  119. $y++;
  120. $apps[$x]['permissions'][$y]['name'] = "contact_group_delete";
  121. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  122. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  123. $y++;
  124. $apps[$x]['permissions'][$y]['name'] = "contact_user_view";
  125. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  126. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  127. $y++;
  128. $apps[$x]['permissions'][$y]['name'] = "contact_user_add";
  129. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  130. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  131. $y++;
  132. $apps[$x]['permissions'][$y]['name'] = "contact_user_edit";
  133. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  134. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  135. $y++;
  136. $apps[$x]['permissions'][$y]['name'] = "contact_user_delete";
  137. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  138. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  139. $y++;
  140. $apps[$x]['permissions'][$y]['name'] = "contact_email_view";
  141. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  142. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  143. $y++;
  144. $apps[$x]['permissions'][$y]['name'] = "contact_email_add";
  145. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  146. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  147. $y++;
  148. $apps[$x]['permissions'][$y]['name'] = "contact_email_edit";
  149. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  150. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  151. $y++;
  152. $apps[$x]['permissions'][$y]['name'] = "contact_email_delete";
  153. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  154. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  155. $y++;
  156. $apps[$x]['permissions'][$y]['name'] = "contact_url_view";
  157. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  158. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  159. $y++;
  160. $apps[$x]['permissions'][$y]['name'] = "contact_url_add";
  161. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  162. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  163. $y++;
  164. $apps[$x]['permissions'][$y]['name'] = "contact_url_edit";
  165. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  166. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  167. $y++;
  168. $apps[$x]['permissions'][$y]['name'] = "contact_url_delete";
  169. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  170. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  171. $y++;
  172. $apps[$x]['permissions'][$y]['name'] = "contact_setting_view";
  173. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  174. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  175. $y++;
  176. $apps[$x]['permissions'][$y]['name'] = "contact_setting_add";
  177. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  178. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  179. $y++;
  180. $apps[$x]['permissions'][$y]['name'] = "contact_setting_edit";
  181. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  182. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  183. $y++;
  184. $apps[$x]['permissions'][$y]['name'] = "contact_setting_delete";
  185. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  186. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  187. $y++;
  188. $apps[$x]['permissions'][$y]['name'] = "contact_relation_view";
  189. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  190. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  191. $y++;
  192. $apps[$x]['permissions'][$y]['name'] = "contact_relation_add";
  193. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  194. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  195. $y++;
  196. $apps[$x]['permissions'][$y]['name'] = "contact_relation_edit";
  197. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  198. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  199. $y++;
  200. $apps[$x]['permissions'][$y]['name'] = "contact_relation_delete";
  201. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  202. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  203. $y++;
  204. $apps[$x]['permissions'][$y]['name'] = "contact_extension_view";
  205. //$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  206. //$apps[$x]['permissions'][$y]['groups'][] = "admin";
  207. $y++;
  208. $apps[$x]['permissions'][$y]['name'] = "contact_time_view";
  209. //$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  210. $y++;
  211. $apps[$x]['permissions'][$y]['name'] = "contact_time_add";
  212. //$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  213. $y++;
  214. $apps[$x]['permissions'][$y]['name'] = "contact_time_edit";
  215. //$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  216. $y++;
  217. $apps[$x]['permissions'][$y]['name'] = "contact_time_delete";
  218. //$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  219. $y++;
  220. $apps[$x]['permissions'][$y]['name'] = "contact_attachment_view";
  221. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  222. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  223. $y++;
  224. $apps[$x]['permissions'][$y]['name'] = "contact_attachment_add";
  225. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  226. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  227. $y++;
  228. $apps[$x]['permissions'][$y]['name'] = "contact_attachment_edit";
  229. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  230. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  231. $y++;
  232. $apps[$x]['permissions'][$y]['name'] = "contact_attachment_delete";
  233. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  234. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  235. //schema details
  236. $y=0;
  237. $apps[$x]['db'][$y]['table']['name'] = "v_contacts";
  238. $apps[$x]['db'][$y]['table']['parent'] = "";
  239. $z=0;
  240. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
  241. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "contact_id";
  242. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
  243. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
  244. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
  245. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  246. $z++;
  247. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_uuid";
  248. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  249. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  250. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  251. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  252. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  253. $z++;
  254. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  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_domains";
  260. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  261. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  262. $z++;
  263. $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
  264. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  265. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  266. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  267. $z++;
  268. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_parent_uuid";
  269. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  270. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  271. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  272. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  273. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_contacts";
  274. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
  275. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  276. $z++;
  277. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_type";
  278. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  279. $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true';
  280. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the type.";
  281. $z++;
  282. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_organization";
  283. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  284. $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true';
  285. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the organization.";
  286. $z++;
  287. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_name_prefix";
  288. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  289. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the name prefix.";
  290. $z++;
  291. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_name_given";
  292. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  293. $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true';
  294. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the given name.";
  295. $z++;
  296. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_name_middle";
  297. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  298. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the middle name.";
  299. $z++;
  300. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_name_family";
  301. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  302. $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true';
  303. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the family name.";
  304. $z++;
  305. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_name_suffix";
  306. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  307. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the name suffix.";
  308. $z++;
  309. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_nickname";
  310. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  311. $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true';
  312. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the nickname.";
  313. $z++;
  314. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_title";
  315. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  316. $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true';
  317. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the title.";
  318. $z++;
  319. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_role";
  320. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  321. $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true';
  322. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the role.";
  323. $z++;
  324. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_category";
  325. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  326. $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true';
  327. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the category.";
  328. $z++;
  329. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_url";
  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'] = "Enter the website address.";
  333. $z++;
  334. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_time_zone";
  335. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  336. $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true';
  337. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the time zone.";
  338. $z++;
  339. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_note";
  340. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  341. $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true';
  342. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the notes.";
  343. $z++;
  344. $apps[$x]['db'][$y]['fields'][$z]['name'] = "last_mod_date";
  345. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  346. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  347. $z++;
  348. $apps[$x]['db'][$y]['fields'][$z]['name'] = "last_mod_user";
  349. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  350. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  351. $z++;
  352. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  353. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  354. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  355. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  356. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  357. $z++;
  358. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  359. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  360. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  361. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  362. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  363. $z++;
  364. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  365. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  366. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  367. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  368. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  369. $z++;
  370. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  371. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  372. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  373. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  374. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  375. $y++;
  376. $apps[$x]['db'][$y]['table']['name'] = "v_contact_addresses";
  377. $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
  378. $z=0;
  379. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_address_uuid";
  380. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  381. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  382. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  383. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  384. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  385. $z++;
  386. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  387. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  388. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  389. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  390. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  391. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  392. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  393. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  394. $z++;
  395. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_uuid";
  396. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  397. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  398. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  399. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  400. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_contacts";
  401. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
  402. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  403. $z++;
  404. $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_type";
  405. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  406. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Used for vCard format.";
  407. $z++;
  408. $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_label";
  409. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  410. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Custom label for an address.";
  411. $z++;
  412. $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_primary";
  413. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  414. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Designate a primary address.";
  415. $z++;
  416. $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_street";
  417. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  418. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the street address.";
  419. $z++;
  420. $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_extended";
  421. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  422. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the extended address.";
  423. $z++;
  424. $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_community";
  425. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  426. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the community.";
  427. $z++;
  428. $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_locality";
  429. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  430. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the city.";
  431. $z++;
  432. $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_region";
  433. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  434. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the state or province.";
  435. $z++;
  436. $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_postal_code";
  437. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  438. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the postal code.";
  439. $z++;
  440. $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_country";
  441. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  442. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the country.";
  443. $z++;
  444. $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_latitude";
  445. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  446. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the latitude.";
  447. $z++;
  448. $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_longitude";
  449. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  450. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the longitude.";
  451. $z++;
  452. $apps[$x]['db'][$y]['fields'][$z]['name'] = "address_description";
  453. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  454. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
  455. $z++;
  456. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_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'] = "insert_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. $z++;
  468. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  469. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  470. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  471. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  472. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  473. $z++;
  474. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  475. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  476. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  477. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  478. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  479. $y++;
  480. $apps[$x]['db'][$y]['table']['name'] = "v_contact_phones";
  481. $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
  482. $z=0;
  483. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_phone_uuid";
  484. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  485. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  486. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  487. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  488. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  489. $z++;
  490. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  491. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  492. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  493. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  494. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  495. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  496. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  497. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  498. $z++;
  499. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_uuid";
  500. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  501. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  502. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  503. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  504. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_contacts";
  505. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
  506. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  507. $z++;
  508. $apps[$x]['db'][$y]['fields'][$z]['name'] = "phone_label";
  509. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  510. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Custom label for the number";
  511. $z++;
  512. $apps[$x]['db'][$y]['fields'][$z]['name'] = "phone_type_voice";
  513. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  514. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Number is used for voice calls.";
  515. $z++;
  516. $apps[$x]['db'][$y]['fields'][$z]['name'] = "phone_type_fax";
  517. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  518. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Number is used for fax calls.";
  519. $z++;
  520. $apps[$x]['db'][$y]['fields'][$z]['name'] = "phone_type_video";
  521. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  522. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Number is used for video calls.";
  523. $z++;
  524. $apps[$x]['db'][$y]['fields'][$z]['name'] = "phone_type_text";
  525. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  526. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Number is used for text messages.";
  527. $z++;
  528. $apps[$x]['db'][$y]['fields'][$z]['name'] = "phone_speed_dial";
  529. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  530. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the speed dial.";
  531. $z++;
  532. $apps[$x]['db'][$y]['fields'][$z]['name'] = "phone_country_code";
  533. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  534. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the country code.";
  535. $z++;
  536. $apps[$x]['db'][$y]['fields'][$z]['name'] = "phone_number";
  537. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  538. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the number.";
  539. $z++;
  540. $apps[$x]['db'][$y]['fields'][$z]['name'] = "phone_extension";
  541. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  542. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the extension.";
  543. $z++;
  544. $apps[$x]['db'][$y]['fields'][$z]['name'] = "phone_primary";
  545. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  546. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Designate a primary number.";
  547. $z++;
  548. $apps[$x]['db'][$y]['fields'][$z]['name'] = "phone_description";
  549. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  550. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
  551. $z++;
  552. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  553. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  554. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  555. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  556. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  557. $z++;
  558. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  559. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  560. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  561. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  562. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  563. $z++;
  564. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  565. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  566. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  567. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  568. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  569. $z++;
  570. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  571. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  572. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  573. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  574. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  575. $y++;
  576. $apps[$x]['db'][$y]['table']['name'] = "v_contact_notes";
  577. $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
  578. $z=0;
  579. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
  580. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "contacts_note_id";
  581. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
  582. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
  583. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
  584. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  585. $z++;
  586. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_note_uuid";
  587. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  588. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  589. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  590. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  591. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  592. $z++;
  593. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  594. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  595. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  596. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  597. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  598. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  599. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  600. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  601. $z++;
  602. $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
  603. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  604. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  605. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  606. $z++;
  607. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_id";
  608. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  609. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Contact ID";
  610. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  611. $z++;
  612. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_uuid";
  613. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  614. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  615. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  616. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  617. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_contacts";
  618. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
  619. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  620. $z++;
  621. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "contact_note";
  622. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "notes";
  623. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  624. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  625. $z++;
  626. $apps[$x]['db'][$y]['fields'][$z]['name'] = "last_mod_date";
  627. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  628. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  629. $z++;
  630. $apps[$x]['db'][$y]['fields'][$z]['name'] = "last_mod_user";
  631. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  632. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  633. $z++;
  634. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  635. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  636. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  637. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  638. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  639. $z++;
  640. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  641. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  642. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  643. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  644. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  645. $z++;
  646. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  647. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  648. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  649. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  650. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  651. $z++;
  652. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  653. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  654. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  655. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  656. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  657. $y++;
  658. $apps[$x]['db'][$y]['table']['name'] = "v_contact_users";
  659. $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
  660. $z=0;
  661. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_user_uuid";
  662. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  663. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  664. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  665. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  666. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  667. $z++;
  668. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  669. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  670. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  671. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  672. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  673. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  674. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  675. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  676. $z++;
  677. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_uuid";
  678. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  679. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  680. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  681. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  682. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_contacts";
  683. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
  684. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  685. $z++;
  686. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_uuid";
  687. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  688. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  689. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  690. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  691. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_users";
  692. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "user_uuid";
  693. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  694. $z++;
  695. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  696. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  697. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  698. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  699. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  700. $z++;
  701. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  702. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  703. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  704. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  705. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  706. $z++;
  707. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  708. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  709. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  710. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  711. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  712. $z++;
  713. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  714. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  715. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  716. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  717. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  718. $y++;
  719. $apps[$x]['db'][$y]['table']['name'] = "v_contact_groups";
  720. $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
  721. $z=0;
  722. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "contact_group_uuid";
  723. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "contact_groups_uuid";
  724. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  725. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  726. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  727. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  728. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  729. $z++;
  730. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  731. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  732. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  733. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  734. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  735. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  736. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  737. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  738. $z++;
  739. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_uuid";
  740. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  741. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  742. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  743. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  744. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_contacts";
  745. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
  746. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  747. $z++;
  748. $apps[$x]['db'][$y]['fields'][$z]['name'] = "group_uuid";
  749. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  750. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  751. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  752. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  753. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_groups";
  754. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "group_uuid";
  755. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  756. $z++;
  757. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  758. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  759. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  760. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  761. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  762. $z++;
  763. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  764. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  765. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  766. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  767. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  768. $z++;
  769. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  770. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  771. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  772. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  773. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  774. $z++;
  775. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  776. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  777. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  778. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  779. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  780. $y++;
  781. $apps[$x]['db'][$y]['table']['name'] = "v_contact_settings";
  782. $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
  783. $z=0;
  784. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_setting_uuid";
  785. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  786. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  787. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  788. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  789. $z++;
  790. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_uuid";
  791. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  792. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  793. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  794. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  795. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_contacts";
  796. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
  797. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  798. $z++;
  799. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  800. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  801. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  802. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  803. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  804. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  805. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  806. $z++;
  807. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_setting_category";
  808. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  809. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the category.";
  810. $z++;
  811. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_setting_subcategory";
  812. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  813. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the subcategory.";
  814. $z++;
  815. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_setting_name";
  816. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  817. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the name.";
  818. $z++;
  819. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_setting_value";
  820. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  821. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the value.";
  822. $z++;
  823. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_setting_order";
  824. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  825. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  826. $z++;
  827. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_setting_enabled";
  828. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  829. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  830. $z++;
  831. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_setting_description";
  832. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  833. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  834. $z++;
  835. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  836. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  837. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  838. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  839. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  840. $z++;
  841. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  842. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  843. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  844. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  845. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  846. $z++;
  847. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  848. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  849. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  850. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  851. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  852. $z++;
  853. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  854. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  855. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  856. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  857. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  858. $y++;
  859. $apps[$x]['db'][$y]['table']['name'] = "v_contact_relations";
  860. $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
  861. $z=0;
  862. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_relation_uuid";
  863. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  864. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  865. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  866. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  867. $z++;
  868. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  869. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  870. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  871. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  872. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  873. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  874. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  875. $z++;
  876. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_uuid";
  877. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  878. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  879. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  880. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  881. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_contacts";
  882. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
  883. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  884. $z++;
  885. $apps[$x]['db'][$y]['fields'][$z]['name'] = "relation_label";
  886. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  887. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  888. $z++;
  889. $apps[$x]['db'][$y]['fields'][$z]['name'] = "relation_contact_uuid";
  890. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  891. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  892. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  893. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  894. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_contacts";
  895. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
  896. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  897. $z++;
  898. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  899. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  900. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  901. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  902. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  903. $z++;
  904. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  905. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  906. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  907. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  908. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  909. $z++;
  910. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  911. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  912. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  913. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  914. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  915. $z++;
  916. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  917. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  918. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  919. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  920. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  921. $y++;
  922. $apps[$x]['db'][$y]['table']['name'] = "v_contact_emails";
  923. $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
  924. $z=0;
  925. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_email_uuid";
  926. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  927. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  928. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  929. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  930. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  931. $z++;
  932. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  933. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  934. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  935. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  936. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  937. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  938. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  939. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  940. $z++;
  941. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_uuid";
  942. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  943. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  944. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  945. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  946. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_contacts";
  947. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
  948. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  949. $z++;
  950. $apps[$x]['db'][$y]['fields'][$z]['name'] = "email_label";
  951. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  952. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Custom label for the email address.";
  953. $z++;
  954. $apps[$x]['db'][$y]['fields'][$z]['name'] = "email_primary";
  955. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  956. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Designate a primary address.";
  957. $z++;
  958. $apps[$x]['db'][$y]['fields'][$z]['name'] = "email_address";
  959. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  960. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the email address.";
  961. $z++;
  962. $apps[$x]['db'][$y]['fields'][$z]['name'] = "email_description";
  963. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  964. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the email description.";
  965. $z++;
  966. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  967. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  968. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  969. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  970. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  971. $z++;
  972. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  973. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  974. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  975. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  976. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  977. $z++;
  978. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  979. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  980. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  981. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  982. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  983. $z++;
  984. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  985. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  986. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  987. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  988. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  989. $y++;
  990. $apps[$x]['db'][$y]['table']['name'] = "v_contact_urls";
  991. $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
  992. $z=0;
  993. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_url_uuid";
  994. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  995. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  996. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  997. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  998. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  999. $z++;
  1000. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  1001. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  1002. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  1003. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  1004. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  1005. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  1006. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  1007. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  1008. $z++;
  1009. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_uuid";
  1010. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  1011. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  1012. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  1013. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  1014. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_contacts";
  1015. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
  1016. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  1017. $z++;
  1018. $apps[$x]['db'][$y]['fields'][$z]['name'] = "url_type";
  1019. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  1020. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Defines the purpose or protocol for the URL.";
  1021. $z++;
  1022. $apps[$x]['db'][$y]['fields'][$z]['name'] = "url_label";
  1023. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  1024. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Custom label for the url.";
  1025. $z++;
  1026. $apps[$x]['db'][$y]['fields'][$z]['name'] = "url_primary";
  1027. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  1028. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Designate a primary address.";
  1029. $z++;
  1030. $apps[$x]['db'][$y]['fields'][$z]['name'] = "url_address";
  1031. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  1032. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "The actual URL address.";
  1033. $z++;
  1034. $apps[$x]['db'][$y]['fields'][$z]['name'] = "url_description";
  1035. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  1036. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the URL description.";
  1037. $z++;
  1038. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  1039. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  1040. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  1041. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  1042. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  1043. $z++;
  1044. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  1045. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  1046. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  1047. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  1048. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  1049. $z++;
  1050. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  1051. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  1052. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  1053. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  1054. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  1055. $z++;
  1056. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  1057. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  1058. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  1059. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  1060. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  1061. $y++;
  1062. $apps[$x]['db'][$y]['table']['name'] = "v_contact_times";
  1063. $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
  1064. $z=0;
  1065. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  1066. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  1067. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  1068. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  1069. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  1070. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  1071. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  1072. $z++;
  1073. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_time_uuid";
  1074. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  1075. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  1076. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  1077. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  1078. $z++;
  1079. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_uuid";
  1080. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  1081. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  1082. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  1083. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  1084. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_contacts";
  1085. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
  1086. $z++;
  1087. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_uuid";
  1088. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  1089. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  1090. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  1091. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  1092. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_users";
  1093. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "user_uuid";
  1094. $z++;
  1095. $apps[$x]['db'][$y]['fields'][$z]['name'] = "time_start";
  1096. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "timestamptz";
  1097. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "date";
  1098. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "timestamp";
  1099. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Start";
  1100. $z++;
  1101. $apps[$x]['db'][$y]['fields'][$z]['name'] = "time_stop";
  1102. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "timestamptz";
  1103. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "date";
  1104. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "timestamp";
  1105. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Stop";
  1106. $z++;
  1107. $apps[$x]['db'][$y]['fields'][$z]['name'] = "time_description";
  1108. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  1109. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Description";
  1110. $z++;
  1111. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  1112. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  1113. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  1114. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  1115. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  1116. $z++;
  1117. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  1118. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  1119. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  1120. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  1121. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  1122. $z++;
  1123. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  1124. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  1125. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  1126. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  1127. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  1128. $z++;
  1129. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  1130. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  1131. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  1132. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  1133. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  1134. $y++;
  1135. $apps[$x]['db'][$y]['table']['name'] = "v_contact_attachments";
  1136. $apps[$x]['db'][$y]['table']['parent'] = "v_contacts";
  1137. $z=0;
  1138. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_attachment_uuid";
  1139. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  1140. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  1141. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  1142. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  1143. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  1144. $z++;
  1145. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  1146. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  1147. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  1148. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  1149. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  1150. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  1151. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  1152. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  1153. $z++;
  1154. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_uuid";
  1155. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  1156. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  1157. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  1158. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  1159. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_contacts";
  1160. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
  1161. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  1162. $z++;
  1163. $apps[$x]['db'][$y]['fields'][$z]['name'] = "attachment_primary";
  1164. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  1165. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Primary attachments are used as the Contact photo and sent with Messages.";
  1166. $z++;
  1167. $apps[$x]['db'][$y]['fields'][$z]['name'] = "attachment_filename";
  1168. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  1169. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "The attachment filename.";
  1170. $z++;
  1171. $apps[$x]['db'][$y]['fields'][$z]['name'] = "attachment_content";
  1172. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  1173. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "The attachment content.";
  1174. $z++;
  1175. $apps[$x]['db'][$y]['fields'][$z]['name'] = "attachment_description";
  1176. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  1177. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
  1178. $z++;
  1179. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'attachment_uploaded_date';
  1180. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  1181. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  1182. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'timestamp';
  1183. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'The date the attachment was uploaded.';
  1184. $z++;
  1185. $apps[$x]['db'][$y]['fields'][$z]['name'] = 'attachment_uploaded_user_uuid';
  1186. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
  1187. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
  1188. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
  1189. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
  1190. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_users';
  1191. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'user_uuid';
  1192. $z++;
  1193. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  1194. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  1195. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  1196. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  1197. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  1198. $z++;
  1199. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  1200. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  1201. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  1202. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  1203. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  1204. $z++;
  1205. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  1206. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  1207. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  1208. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  1209. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  1210. $z++;
  1211. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  1212. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  1213. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  1214. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  1215. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  1216. //default settings
  1217. $y=0;
  1218. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "38a67445-577d-483d-a176-09549cfdaa69";
  1219. $apps[$x]['default_settings'][$y]['default_setting_category'] = "contact";
  1220. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "allowed_attachment_types";
  1221. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  1222. $apps[$x]['default_settings'][$y]['default_setting_value'] = '{"jpg":"image\/jpg","jpeg":"image\/jpg","gif":"image\/gif","png":"image\/png","pdf":"application\/pdf","doc":"application\/vnd.ms-word","docx":"application\/vnd.openxmlformats-officedocument.wordprocessingml.document","xls":"application\/vnd.ms-excel","xlsx":"application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet","zip":"application\/zip","rar":"application\/x-rar-compressed","7z":"application\/x-7z-compressed","txt":"text\/plain","pcap":"application\/vnd.tcpdump.pcap"}';
  1223. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  1224. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Define the allowed file attachment extensions and their mime types in a JSON array.";
  1225. $y++;
  1226. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "d8998b7f-c27c-43ac-ad1b-a9c66187bb10";
  1227. $apps[$x]['default_settings'][$y]['default_setting_category'] = "contact";
  1228. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "permissions";
  1229. $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean";
  1230. $apps[$x]['default_settings'][$y]['default_setting_value'] = "false";
  1231. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  1232. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  1233. ?>