feat(database): Change type varchar to text (refs #4462)
Merge pull request #1071 from eguaj/3.3-A4462

feat(database): Change type varchar to text (closes #4462)
feat(database): getSqlSearchDoc is deprecated (refs #4525)
feat(database): use array to record multiple values (refs #2761)
feat(database): file contents moved in filecontent sql schema database tables (refs #4526)
feat(database): file contents move migration (refs #4526)
feat(test): add missing pgarray comma test (refs #2761)