pre postgres migration