Sha256: 0269f63e1c067015858f4372b2120e09467b9613a50a927749cfd4be0f8de18d

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 Bytes

Contents

# This migration comes from piggybak_variants (originally 20121015144538)
class CreateNewVariants < ActiveRecord::Migration
  def up
    create_table :variants, :force => true do |t|
      t.integer :item_id, :null => false
      t.string :item_type, :null => false
      t.timestamps
    end
  end

  def down
    drop_table :variants
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
piggybak_free_shipping_by_product-0.0.2 test/dummy/db/migrate/20121022202530_create_new_variants.piggybak_variants.rb
piggybak_free_shipping_by_product-0.0.1 test/dummy/db/migrate/20121022202530_create_new_variants.piggybak_variants.rb