migrate(migrations_paths, target_version = nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/migration.rb, line 527
      def migrate(migrations_paths, target_version = nil)
        case
          when target_version.nil?
            up(migrations_paths, target_version)
          when current_version == 0 && target_version == 0
            []
          when current_version > target_version
            down(migrations_paths, target_version)
          else
            up(migrations_paths, target_version)
        end
      end
Register or log in to add new notes.