Sha256: e7971818039b34bfd8be351e0ed5154c8450be37870d5102bfe04199f6c48ddf

Contents?: true

Size: 171 Bytes

Versions: 8

Compression:

Stored size: 171 Bytes

Contents

class AddStateToBrands < ActiveRecord::Migration
  def self.up
    add_column :brands, :state, :boolean
  end

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rails3-jquery-autocomplete-0.9.0 integration/db/migrate/20110423000347_add_state_to_brands.rb
rails3-jquery-autocomplete-0.8.0 integration/db/migrate/20110423000347_add_state_to_brands.rb
rails3-jquery-autocomplete-0.7.5 integration/db/migrate/20110423000347_add_state_to_brands.rb
rails3-jquery-autocomplete-0.7.4 integration/db/migrate/20110423000347_add_state_to_brands.rb
rails3-jquery-autocomplete-0.7.3 integration/db/migrate/20110423000347_add_state_to_brands.rb
rails3-jquery-autocomplete-0.7.2 integration/db/migrate/20110423000347_add_state_to_brands.rb
rails3-jquery-autocomplete-0.7.1 integration/db/migrate/20110423000347_add_state_to_brands.rb
rails3-jquery-autocomplete-0.7.0 integration/db/migrate/20110423000347_add_state_to_brands.rb