Sha256: 93a1cb0ffb7dc7513ac50f6b8d0f718e9d0dfbb9472096989af774ce679caa16

Contents?: true

Size: 394 Bytes

Versions: 3

Compression:

Stored size: 394 Bytes

Contents

class MigratePreferencesToVersion1 < 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

3 entries across 3 versions & 2 rubygems

Version Path
pluginaweek-preferences-0.3.1 test/app_root/db/migrate/004_migrate_preferences_to_version_1.rb
preferences-0.3.1 test/app_root/db/migrate/004_migrate_preferences_to_version_1.rb
preferences-0.3.0 test/app_root/db/migrate/004_migrate_preferences_to_version_1.rb