Sha256: 2ba74c8625b45c17d8c93fb917f59f5cbcdf50c3a7693e517dd8c4d4c8f2823d

Contents?: true

Size: 270 Bytes

Versions: 28

Compression:

Stored size: 270 Bytes

Contents

class CreateOptionTypes < ActiveRecord::Migration
  def self.up
    create_table :option_types do |t|
      t.string :name, :limit => 100
      t.string :presentation, :limit => 100
      t.timestamps
    end
  end

  def self.down
    drop_table :option_types
  end
end

Version data entries

28 entries across 28 versions & 4 rubygems

Version Path
kdmny-spree-0.0.1 db/migrate/015_create_option_types.rb
spree-enriquez-0.9.4 db/migrate/015_create_option_types.rb
spree-0.9.4 db/migrate/015_create_option_types.rb
spree-0.9.3 db/migrate/015_create_option_types.rb
spree-0.9.2 db/migrate/015_create_option_types.rb
spree-0.9.1 db/migrate/015_create_option_types.rb
spree-0.9.0 db/migrate/015_create_option_types.rb
spree-0.8.4 db/migrate/015_create_option_types.rb
spree-0.8.5 db/migrate/015_create_option_types.rb
railscart-0.0.4 starter_app/vendor/plugins/railscart/db/migrate/016_create_option_types.rb
railscart-0.0.3 starter_app/vendor/plugins/railscart/db/migrate/021_create_option_types.rb
spree-0.0.6 starter-app/vendor/plugins/spree/db/migrate/016_create_option_types.rb
spree-0.0.5 starter-app/vendor/plugins/spree/db/migrate/016_create_option_types.rb
spree-0.0.8 starter-app/vendor/plugins/spree/db/migrate/016_create_option_types.rb
spree-0.0.7 starter-app/vendor/plugins/spree/db/migrate/016_create_option_types.rb
spree-0.0.9 db/migrate/015_create_option_types.rb
spree-0.2.0 db/migrate/015_create_option_types.rb
spree-0.4.0 db/migrate/015_create_option_types.rb
spree-0.4.1 db/migrate/015_create_option_types.rb
spree-0.5.0 db/migrate/015_create_option_types.rb