Sha256: 834912650b6ad5cb632d89477f5223afbbb451718d66da7dd82cea9111bd96e9

Contents?: true

Size: 349 Bytes

Versions: 2

Compression:

Stored size: 349 Bytes

Contents

# This migration comes from spree (originally 20150330144639)
class CreateSpreeUserStockLocations < ActiveRecord::Migration
  def change
    create_table :spree_user_stock_locations do |t|
      t.integer :user_id
      t.integer :stock_location_id
      t.timestamps null: true
    end
    add_index :spree_user_stock_locations, :user_id
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_order_reporting-0.0.2 spec/dummy/db/migrate/20160707103570_create_spree_user_stock_locations.spree.rb
spree_order_reporting-0.0.1 spec/dummy/db/migrate/20160706112522_create_spree_user_stock_locations.spree.rb