Made deploy dev aware of PostgreSQL DB on deploy, fixed wrong col definition