So I’ve had this problem so often that I think it deserves its own note for troubleshooting.

First, you need to see what is actually happening in the database. Stop looking at the logs and open PGAdmin!

Try changing column names in the schema. If they aren’t propagating, then delete the table and try to regenerate the database.