Sha256: dc6b8199a118df35ff1f920937c4ba3dd6dbea9127b8fbac5a18748dcb6ae866

Contents?: true

Size: 436 Bytes

Versions: 1

Compression:

Stored size: 436 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
has_emails-0.3.1 test/app_root/db/migrate/002_migrate_has_emails_to_version_1.rb