Class: CreateSizes
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateSizes
- Defined in:
- lib/db/migrate/20110307063709_create_sizes.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
13 14 15 |
# File 'lib/db/migrate/20110307063709_create_sizes.rb', line 13 def self.down drop_table :sizes end |
.up ⇒ Object
2 3 4 5 6 7 8 9 10 11 |
# File 'lib/db/migrate/20110307063709_create_sizes.rb', line 2 def self.up create_table :sizes do |t| t.integer :product_id t.string :cafepress_size_id t.string :full_name t.string :display_sell_price t. end end |