Sha256: 01d670d1bb508bb6e1574b4ca56e5c3771b987695fcdbfe9b83020759549bad8

Contents?: true

Size: 394 Bytes

Versions: 2

Compression:

Stored size: 394 Bytes

Contents

class MigrateHasMessagesToVersion2 < ActiveRecord::Migration
  def self.up
    ActiveRecord::Migrator.new(:up, "#{Rails.root}/../../db/migrate", 0).migrations.each do |migration|
      migration.migrate(:up)
    end
  end
  
  def self.down
    ActiveRecord::Migrator.new(:up, "#{Rails.root}/../../db/migrate", 0).migrations.each do |migration|
      migration.migrate(:down)
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
pluginaweek-has_messages-0.4.0 test/app_root/db/migrate/002_migrate_has_messages_to_version_2.rb
has_messages-0.4.0 test/app_root/db/migrate/002_migrate_has_messages_to_version_2.rb