method

run

rails latest stable - Class: ActiveRecord::InvalidMigrationTimestampError::Migration

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

run(*migration_classes)
public

Runs the given migration classes. Last argument can specify options:

  • :direction - Default is :up.

  • :revert - Default is false.