Sha256: 4ee4a1e05c75f03f8eb80b3018e4d37c2d610e93de154c93e89a4baf3d2b4359

Contents?: true

Size: 322 Bytes

Versions: 22

Compression:

Stored size: 322 Bytes

Contents

class CreateInventoryUnits < ActiveRecord::Migration
  def self.up
    create_table :inventory_units do |t|
      t.integer :variant_id
      t.integer :order_id
      t.integer :status
      t.integer :lock_version, :default => 0
      t.timestamps
    end
  end

  def self.down
    drop_table :inventory_units
  end
end

Version data entries

22 entries across 22 versions & 3 rubygems

Version Path
kdmny-spree-0.0.1 db/migrate/021_create_inventory_units.rb
spree-enriquez-0.9.4 db/migrate/021_create_inventory_units.rb
spree-0.9.4 db/migrate/021_create_inventory_units.rb
spree-0.9.3 db/migrate/021_create_inventory_units.rb
spree-0.9.2 db/migrate/021_create_inventory_units.rb
spree-0.9.1 db/migrate/021_create_inventory_units.rb
spree-0.9.0 db/migrate/021_create_inventory_units.rb
spree-0.8.4 db/migrate/021_create_inventory_units.rb
spree-0.8.5 db/migrate/021_create_inventory_units.rb
spree-0.0.9 db/migrate/021_create_inventory_units.rb
spree-0.2.0 db/migrate/021_create_inventory_units.rb
spree-0.4.0 db/migrate/021_create_inventory_units.rb
spree-0.4.1 db/migrate/021_create_inventory_units.rb
spree-0.5.0 db/migrate/021_create_inventory_units.rb
spree-0.5.1 db/migrate/021_create_inventory_units.rb
spree-0.6.0 db/migrate/021_create_inventory_units.rb
spree-0.7.1 db/migrate/021_create_inventory_units.rb
spree-0.7.0 db/migrate/021_create_inventory_units.rb
spree-0.8.0 db/migrate/021_create_inventory_units.rb
spree-0.8.1 db/migrate/021_create_inventory_units.rb