Class: AddCafepressDesignIdToProducts
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddCafepressDesignIdToProducts
- Defined in:
- lib/db/migrate/20101111025931_add_cafepress_design_id_to_products.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
6 7 8 |
# File 'lib/db/migrate/20101111025931_add_cafepress_design_id_to_products.rb', line 6 def self.down remove_column :products, :cafepress_design_id end |
.up ⇒ Object
2 3 4 |
# File 'lib/db/migrate/20101111025931_add_cafepress_design_id_to_products.rb', line 2 def self.up add_column :products, :cafepress_design_id, :string end |