changed schema to text for pg