updated with sqlite dev and postgres prod