Sha256: 4d270898e39de9d4eeb60d040e3a560bbf99697e4533e73defec1b3806425345

Contents?: true

Size: 283 Bytes

Versions: 14

Compression:

Stored size: 283 Bytes

Contents

class CreateOrderItems < ActiveRecord::Migration
  def self.up
    create_table :merchant_order_items do |t|
      t.integer   :order_id
      t.string    :name
      t.integer   :price
      t.timestamps
    end
  end

  def self.down
    drop_table :merchant_order_items
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
will_filter-5.1.4 test/dummy/db/migrate/20111001193027_create_order_items.rb
will_filter-5.1.3 test/dummy/db/migrate/20111001193027_create_order_items.rb
will_filter-5.1.2 test/dummy/db/migrate/20111001193027_create_order_items.rb
will_filter-5.1.1 test/dummy/db/migrate/20111001193027_create_order_items.rb
will_filter-5.1.0 test/dummy/db/migrate/20111001193027_create_order_items.rb
will_filter-3.1.11 test/dummy/db/migrate/20111001193027_create_order_items.rb
will_filter-3.1.10 test/dummy/db/migrate/20111001193027_create_order_items.rb
will_filter-3.1.9 test/dummy/db/migrate/20111001193027_create_order_items.rb
will_filter-3.1.8 test/dummy/db/migrate/20111001193027_create_order_items.rb
will_filter-3.1.7 test/dummy/db/migrate/20111001193027_create_order_items.rb
will_filter-3.1.6 test/dummy/db/migrate/20111001193027_create_order_items.rb
will_filter-3.1.5 test/dummy/db/migrate/20111001193027_create_order_items.rb
will_filter-3.1.3 test/dummy/db/migrate/20111001193027_create_order_items.rb
will_filter-3.1.2 test/dummy/db/migrate/20111001193027_create_order_items.rb