Sha256: 5e02e249e0d06abf7297a5f89bcd8cf2a8f14b64f60930725adfb19c705c3a69

Contents?: true

Size: 202 Bytes

Versions: 7

Compression:

Stored size: 202 Bytes

Contents

class MigrateHasEmailsToVersion1 < ActiveRecord::Migration
  def self.up
    Rails::Plugin.find(:has_emails).migrate(1)
  end
  
  def self.down
    Rails::Plugin.find(:has_emails).migrate(0)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
has_emails-0.1.0 test/app_root/db/migrate/002_migrate_has_emails_to_version_1.rb
has_emails-0.1.1 test/app_root/db/migrate/002_migrate_has_emails_to_version_1.rb
has_emails-0.1.2 test/app_root/db/migrate/002_migrate_has_emails_to_version_1.rb
has_emails-0.1.3 test/app_root/db/migrate/002_migrate_has_emails_to_version_1.rb
has_emails-0.1.4 test/app_root/db/migrate/002_migrate_has_emails_to_version_1.rb
has_emails-0.2.0 test/app_root/db/migrate/002_migrate_has_emails_to_version_1.rb
has_emails-0.2.1 test/app_root/db/migrate/002_migrate_has_emails_to_version_1.rb