adds model infrastructure for mirgration