Sha256: 065273e480471d2cd598c0b837cae47cd3e12f018380a41ddd885ac506543c27

Contents?: true

Size: 272 Bytes

Versions: 44

Compression:

Stored size: 272 Bytes

Contents

class CreateSpreeStockLocations < ActiveRecord::Migration[4.2]
  def change
    create_table :spree_stock_locations do |t|
      t.string :name
      t.belongs_to :address

      t.timestamps null: false
    end
    add_index :spree_stock_locations, :address_id
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
spree_core-3.4.6 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-3.2.9 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-3.6.6 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-3.6.5 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-3.6.4 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-3.6.3 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-3.6.2 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-3.6.1 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-3.6.0 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-3.5.0 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-3.3.6 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-3.2.8 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-3.6.0.rc1 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-3.5.0.rc2 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-3.5.0.rc1 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-3.4.5 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-3.3.5 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-3.4.4 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-3.4.3 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-3.3.4 db/migrate/20130211191120_create_spree_stock_locations.rb