Sha256: ac9e4661003cd43da1d8d239f4b77af49751d2139c094a7eab6eed32c26919cb

Contents?: true

Size: 222 Bytes

Versions: 4

Compression:

Stored size: 222 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
has_phone_numbers-0.0.5 test/app_root/db/migrate/002_migrate_has_phone_numbers_to_version_1.rb
has_phone_numbers-0.0.3 test/app_root/db/migrate/002_migrate_has_phone_numbers_to_version_1.rb
has_phone_numbers-0.0.4 test/app_root/db/migrate/002_migrate_has_phone_numbers_to_version_1.rb
has_phone_numbers-0.1.0 test/app_root/db/migrate/002_migrate_has_phone_numbers_to_version_1.rb