Uses postgresql for production.