Sha256: 390872a32a233a1c857ea3871e38d2653e52eea8d8bf687c9cd3f5cb4fa0d7cb

Contents?: true

Size: 354 Bytes

Versions: 2

Compression:

Stored size: 354 Bytes

Contents

# This migration comes from piggybak_engine (originally 20120716195806)
class OrderDebugging < ActiveRecord::Migration
  def up
    add_column :orders, :ip_address, :string, :nil => false
    add_column :orders, :user_agent, :string, :nil => false
  end

  def down
    remove_column :orders, :ip_address
    remove_column :orders, :user_agent
  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/20120829140526_order_debugging.piggybak_engine.rb
piggybak_free_shipping_by_product-0.0.1 test/dummy/db/migrate/20120829140526_order_debugging.piggybak_engine.rb