Method: Sequel::TimestampMigrator.run_single

Defined in:
lib/sequel/extensions/migration.rb

.run_single(db, path, opts = OPTS) ⇒ Object

Apply the migration in the given file path. See Migrator.run for the available options. Additionally, this method supports the :direction option for whether to run the migration up (default) or down.



714
715
716
# File 'lib/sequel/extensions/migration.rb', line 714

def self.run_single(db, path, opts=OPTS)
  new(db, File.dirname(path), opts).run_single(path, opts[:direction] || :up)
end