Sha256: b0ffcc6323ff58e3e1ed1ae33a8d5632c8f71e359e1294c4ff6aff74e9743c71

Contents?: true

Size: 286 Bytes

Versions: 76

Compression:

Stored size: 286 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, precision: 6
    end
    add_index :spree_stock_locations, :address_id
  end
end

Version data entries

76 entries across 76 versions & 1 rubygems

Version Path
spree_core-4.0.9 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-4.1.15 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-4.2.7 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-4.3.3 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-4.2.6 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-4.3.2 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-4.3.1 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-4.3.0 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-4.3.0.rc3 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-4.3.0.rc2 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-4.3.0.rc1 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-4.2.5 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-4.1.14 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-4.0.8 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-4.2.4 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-3.7.14.1 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-4.2.3.1 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-4.1.13.1 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-4.0.7.1 db/migrate/20130211191120_create_spree_stock_locations.rb
spree_core-4.2.3 db/migrate/20130211191120_create_spree_stock_locations.rb