Finish pg migration