migrations used instead of sync