using postgres 'varchar' rather than 'text' if the data type is a 'string'