def migrate_without_lock
        if invalid_target?
          raise UnknownMigrationVersionError.new(@target_version)
        end

        result = runnable.each do |migration|
          execute_migration_in_transaction(migration, @direction)
        end

        record_environment
        result
      end
def migrate_without_lock
        if invalid_target?
          raise UnknownMigrationVersionError.new(@target_version)
        end

        result = runnable.each do |migration|
          execute_migration_in_transaction(migration, @direction)
        end

        record_environment
        result
      end
Used for running multiple migrations up to or down to a certain value.