Using the postgres database for production