bail out with an exception if the migration generation command is incorrect