In EF6, these operations were encapsulated inside migration operation classes and passed through the migration sql generator. For now, this seems fine, but it may become problematic when we implement migration scripting.