fix migrations and eloquent models