Sha256: 4f0a93aca84519addd35b67c78291a59815e552119aa7b2b70ce0d3ae35f36be

Contents?: true

Size: 442 Bytes

Versions: 2

Compression:

Stored size: 442 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
has_messages_huacnlee-0.4.1 test/app_root/db/migrate/002_migrate_has_messages_to_version_2.rb
has_messages-0.4.1 test/app_root/db/migrate/002_migrate_has_messages_to_version_2.rb