Switched app to postgres