public function runSingleMigration($migration)
	{
		require_once $migration->path;
		$migrationClass = $migration->class_name;
		
		if (!class_exists($migrationClass)) {
			throw new MigrationClassNotFoundException(
				sprintf(
					'Migration class [%s] does not exist',
					$migrationClass
				)
			);
		}

		$class = new $migrationClass();

		if (Migration::migrationType() == Attribute::DOWNGRADE) {
			$class->down();
		}else{
			$class->up();
		}

		$migration = Model::findById($migration->id);
		$migration->status = 'migrated';
		$migration->save();

		$this->env->sendOutput(
			sprintf(
				'[%s] migration was successful',
				$migration->class_name
			),
			'green'
		);
	}