Sha256: 368444623cbed859cd4f9206954917c28fdc960ed244a83f295cd90a35f79cbe

Contents?: true

Size: 326 Bytes

Versions: 20

Compression:

Stored size: 326 Bytes

Contents

class RemovePresentationFromTaxonomy < ActiveRecord::Migration
  def self.up
    remove_column :taxonomies, :presentation
    remove_column :taxons, :presentation
  end

  def self.down
    add_column :taxonomies, :presentation, :string, :null => false
    add_column :taxons, :presentation, :string, :null => false
  end
end

Version data entries

20 entries across 20 versions & 3 rubygems

Version Path
kdmny-spree-0.0.1 db/migrate/20080918083321_remove_presentation_from_taxonomy.rb
spree-enriquez-0.9.4 db/migrate/20080918083321_remove_presentation_from_taxonomy.rb
spree-0.9.4 db/migrate/20080918083321_remove_presentation_from_taxonomy.rb
spree-0.9.3 db/migrate/20080918083321_remove_presentation_from_taxonomy.rb
spree-0.9.2 db/migrate/20080918083321_remove_presentation_from_taxonomy.rb
spree-0.9.1 db/migrate/20080918083321_remove_presentation_from_taxonomy.rb
spree-0.9.0 db/migrate/20080918083321_remove_presentation_from_taxonomy.rb
spree-0.8.4 db/migrate/20080918083321_remove_presentation_from_taxonomy.rb
spree-0.8.5 db/migrate/20080918083321_remove_presentation_from_taxonomy.rb
spree-0.4.0 db/migrate/20080918083321_remove_presentation_from_taxonomy.rb
spree-0.4.1 db/migrate/20080918083321_remove_presentation_from_taxonomy.rb
spree-0.5.0 db/migrate/20080918083321_remove_presentation_from_taxonomy.rb
spree-0.6.0 db/migrate/20080918083321_remove_presentation_from_taxonomy.rb
spree-0.5.1 db/migrate/20080918083321_remove_presentation_from_taxonomy.rb
spree-0.7.0 db/migrate/20080918083321_remove_presentation_from_taxonomy.rb
spree-0.7.1 db/migrate/20080918083321_remove_presentation_from_taxonomy.rb
spree-0.8.0 db/migrate/20080918083321_remove_presentation_from_taxonomy.rb
spree-0.8.1 db/migrate/20080918083321_remove_presentation_from_taxonomy.rb
spree-0.8.2 db/migrate/20080918083321_remove_presentation_from_taxonomy.rb
spree-0.8.3 db/migrate/20080918083321_remove_presentation_from_taxonomy.rb