Fixed migration
Added guard file