changed the production adaptor to postgresql