Removed use of deprecatedclass
Removed useless schema type condition
Modified manager so that it doesn't generate empty migration classes