Sha256: db7f06ff9f801533c1779838d4df28ac9ce9a7527e5e2562c3b821eec2b522ca

Contents?: true

Size: 260 Bytes

Versions: 21

Compression:

Stored size: 260 Bytes

Contents

class CreateOrderMutex < ActiveRecord::Migration[4.2]
  def change
    create_table :spree_order_mutexes do |t|
      t.integer :order_id, null: false

      t.datetime :created_at
    end

    add_index :spree_order_mutexes, :order_id, unique: true
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
solidus_core-2.3.1 db/migrate/20140708132019_create_order_mutex.rb
solidus_core-2.2.2 db/migrate/20140708132019_create_order_mutex.rb
solidus_core-2.1.1 db/migrate/20140708132019_create_order_mutex.rb
solidus_core-2.0.3 db/migrate/20140708132019_create_order_mutex.rb
solidus_core-2.3.0 db/migrate/20140708132019_create_order_mutex.rb
solidus_core-2.3.0.rc3 db/migrate/20140708132019_create_order_mutex.rb
solidus_core-2.3.0.rc2 db/migrate/20140708132019_create_order_mutex.rb
solidus_core-2.3.0.rc1 db/migrate/20140708132019_create_order_mutex.rb
solidus_core-2.3.0.beta1 db/migrate/20140708132019_create_order_mutex.rb
solidus_core-2.0.2 db/migrate/20140708132019_create_order_mutex.rb
solidus_core-2.2.1 db/migrate/20140708132019_create_order_mutex.rb
solidus_core-2.2.0 db/migrate/20140708132019_create_order_mutex.rb
solidus_core-2.2.0.rc1 db/migrate/20140708132019_create_order_mutex.rb
solidus_core-2.2.0.beta1 db/migrate/20140708132019_create_order_mutex.rb
solidus_core-2.1.0 db/migrate/20140708132019_create_order_mutex.rb
solidus_core-2.1.0.rc1 db/migrate/20140708132019_create_order_mutex.rb
solidus_core-2.0.1 db/migrate/20140708132019_create_order_mutex.rb
solidus_core-2.1.0.beta1 db/migrate/20140708132019_create_order_mutex.rb
solidus_core-2.0.0 db/migrate/20140708132019_create_order_mutex.rb
solidus_core-2.0.0.rc1 db/migrate/20140708132019_create_order_mutex.rb