Sha256: 18193705917502cbb502ff28ad5c0d0918c6ceed481c87a88aee25dff08465d1

Contents?: true

Size: 208 Bytes

Versions: 14

Compression:

Stored size: 208 Bytes

Contents

class MigrateHasMessagesToVersion2 < ActiveRecord::Migration
  def self.up
    Rails::Plugin.find(:has_messages).migrate(2)
  end
  
  def self.down
    Rails::Plugin.find(:has_messages).migrate(0)
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
has_emails-0.1.0 test/app_root/db/migrate/001_migrate_has_messages_to_version_2.rb
has_emails-0.1.4 test/app_root/db/migrate/001_migrate_has_messages_to_version_2.rb
has_emails-0.1.3 test/app_root/db/migrate/001_migrate_has_messages_to_version_2.rb
has_emails-0.1.2 test/app_root/db/migrate/001_migrate_has_messages_to_version_2.rb
has_emails-0.1.1 test/app_root/db/migrate/001_migrate_has_messages_to_version_2.rb
has_emails-0.2.1 test/app_root/db/migrate/001_migrate_has_messages_to_version_2.rb
has_emails-0.2.0 test/app_root/db/migrate/001_migrate_has_messages_to_version_2.rb
has_messages-0.3.0 test/app_root/db/migrate/002_migrate_has_messages_to_version_2.rb
has_messages-0.1.3 test/app_root/db/migrate/002_migrate_has_messages_to_version_2.rb
has_messages-0.1.2 test/app_root/db/migrate/002_migrate_has_messages_to_version_2.rb
has_messages-0.1.1 test/app_root/db/migrate/002_migrate_has_messages_to_version_2.rb
has_messages-0.1.0 test/app_root/db/migrate/002_migrate_has_messages_to_version_2.rb
has_messages-0.2.0 test/app_root/db/migrate/002_migrate_has_messages_to_version_2.rb
has_messages-0.3.1 test/app_root/db/migrate/002_migrate_has_messages_to_version_2.rb