Sha256: 85b78597738f2f3a3f995626d820ab1f58236626cd2222df39c48f137d00ddfd

Contents?: true

Size: 496 Bytes

Versions: 7

Compression:

Stored size: 496 Bytes

Contents

class SetupShopVariants < ActiveRecord::Migration
  def self.up
    create_table "shop_variants", :force => true do |t|
      t.string   "name"
      t.text     "options_json"
      t.integer  "created_by_id"
      t.integer  "updated_by_id"
      t.datetime "created_at"
      t.datetime "updated_at"
    end
    
    create_table "shop_product_variants", :force => true do |t|
      t.string  "name"
      t.decimal "price"
      t.integer "product_id"
    end
  end

  def self.down
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
radiant-shop_variants-extension-0.1.3 db/migrate/20101015162238_setup_shop_variants.rb
radiant-shop_variants-extension-0.1.2 db/migrate/20101015162238_setup_shop_variants.rb
radiant-shop_variants-extension-0.1.1 db/migrate/20101015162238_setup_shop_variants.rb
radiant-shop_variants-extension-0.1.0 db/migrate/20101015162238_setup_shop_variants.rb
radiant-shop_variants-extension-0.0.4 db/migrate/20101015162238_setup_shop_variants.rb
radiant-shop_variants-extension-0.0.3 db/migrate/20101015162238_setup_shop_variants.rb
radiant-shop_variants-extension-0.0.1 db/migrate/20101015162238_setup_shop_variants.rb