Switch db to postgres for production