Fixing the migrate class so that it knows an assignment belongs to a class as well
Fixing the migrate script for the assignment