Sha256: 33acc46aa8ea0766a6cc2b8dfba74ea74845d33e0a98b6554b92fe32afa96072

Contents?: true

Size: 175 Bytes

Versions: 2

Compression:

Stored size: 175 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
has_addresses-0.0.1 test/app_root/db/migrate/002_add_address_kinds.rb
has_addresses-0.0.2 test/app_root/db/migrate/002_add_address_kinds.rb