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
spree-0.6.0 db/migrate/015_create_option_types.rb
spree-0.5.1 db/migrate/015_create_option_types.rb
spree-0.7.1 db/migrate/015_create_option_types.rb
spree-0.7.0 db/migrate/015_create_option_types.rb
spree-0.8.0 db/migrate/015_create_option_types.rb
spree-0.8.1 db/migrate/015_create_option_types.rb
spree-0.8.2 db/migrate/015_create_option_types.rb
spree-0.8.3 db/migrate/015_create_option_types.rb