adpted migration ot changes on models