app_config.php 66 KB

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