made requirred migrations and model