Sha256: b3f65f4e1d440515e1bc79c377fcfe27ee0a194b60a25223737b67e62ecba4d4

Contents?: true

Size: 212 Bytes

Versions: 2

Compression:

Stored size: 212 Bytes

Contents

class AddSellerToOrders < ActiveRecord::Migration[6.0]
  def change
  	add_reference :rails_marketplace_orders, :seller, index: true
  	remove_reference :rails_marketplace_order_products, :seller
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_marketplace-0.0.2 db/migrate/20161207193917_add_seller_to_orders.rb
rails_marketplace-0.0.1 db/migrate/20161207193917_add_seller_to_orders.rb