Sha256: 85c760ee6eceb8c4dfe60ebcea7b09b55e294fce79913f16c8aebc0927fcee7d

Contents?: true

Size: 196 Bytes

Versions: 4

Compression:

Stored size: 196 Bytes

Contents

class AddPhoneNumberKinds < ActiveRecord::Migration
  def self.up
    add_column :phone_numbers, :kind, :string
  end
  
  def self.down
    remove_column :phone_numbers, :kind, :string
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
has_phone_numbers-0.0.2 test/app_root/db/migrate/002_add_phone_number_kinds.rb
has_phone_numbers-0.0.1 test/app_root/db/migrate/002_add_phone_number_kinds.rb
has_phone_numbers-0.0.3 test/app_root/db/migrate/003_add_phone_number_kinds.rb
has_phone_numbers-0.0.4 test/app_root/db/migrate/003_add_phone_number_kinds.rb