Sha256: c0fff01a3456bf1a53b48c5f13e2e74af1f9201138e93e36f8d865ca7e54cf68

Contents?: true

Size: 184 Bytes

Versions: 7

Compression:

Stored size: 184 Bytes

Contents

class AddAddressIdToBrand < ActiveRecord::Migration
  def self.up
    add_column :brands, :address_id, :integer
  end

  def self.down
    remove_column :brands, :address_id
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails3-jquery-autocomplete-0.9.0 integration/db/migrate/20110512153811_add_address_id_to_brand.rb
rails3-jquery-autocomplete-0.8.0 integration/db/migrate/20110512153811_add_address_id_to_brand.rb
rails3-jquery-autocomplete-0.7.5 integration/db/migrate/20110512153811_add_address_id_to_brand.rb
rails3-jquery-autocomplete-0.7.4 integration/db/migrate/20110512153811_add_address_id_to_brand.rb
rails3-jquery-autocomplete-0.7.3 integration/db/migrate/20110512153811_add_address_id_to_brand.rb
rails3-jquery-autocomplete-0.7.2 integration/db/migrate/20110512153811_add_address_id_to_brand.rb
rails3-jquery-autocomplete-0.7.1 integration/db/migrate/20110512153811_add_address_id_to_brand.rb