added entities and migrations