Switch to postgre db