changed strings to text in schema