fix error at change type of text field to integer in PostgreSQL

Is it worth re-reflecting the table to ensure what you think happened did in fact occur. Right now this test could pass if the alterSchema() method returned an empty string.