Sha256: 5bd88df99f6b78ad4c1be2fa2b80b691c697a58b8e86472ad05f38f03c377da2

Contents?: true

Size: 229 Bytes

Versions: 16

Compression:

Stored size: 229 Bytes

Contents

class CreateOrderThings < ActiveRecord::Migration
  def change
    create_table :order_things do |t|
      t.integer :order, :null => false

      t.timestamps null: false
    end

    add_index :order_things, [:order]
  end
end

Version data entries

16 entries across 4 versions & 1 rubygems

Version Path
activerecord-sortable-0.0.8 spec/dummy-3.2/db/migrate/20150408101403_create_order_things.rb
activerecord-sortable-0.0.8 spec/dummy-4.2/db/migrate/20150408101403_create_order_things.rb
activerecord-sortable-0.0.8 spec/dummy-4.1/db/migrate/20150408101403_create_order_things.rb
activerecord-sortable-0.0.8 spec/dummy-4.0/db/migrate/20150408101403_create_order_things.rb
activerecord-sortable-0.0.7 spec/dummy-3.2/db/migrate/20150408101403_create_order_things.rb
activerecord-sortable-0.0.7 spec/dummy-4.0/db/migrate/20150408101403_create_order_things.rb
activerecord-sortable-0.0.7 spec/dummy-4.1/db/migrate/20150408101403_create_order_things.rb
activerecord-sortable-0.0.7 spec/dummy-4.2/db/migrate/20150408101403_create_order_things.rb
activerecord-sortable-0.0.6 spec/dummy-4.2/db/migrate/20150408101403_create_order_things.rb
activerecord-sortable-0.0.6 spec/dummy-3.2/db/migrate/20150408101403_create_order_things.rb
activerecord-sortable-0.0.6 spec/dummy-4.0/db/migrate/20150408101403_create_order_things.rb
activerecord-sortable-0.0.6 spec/dummy-4.1/db/migrate/20150408101403_create_order_things.rb
activerecord-sortable-0.0.5 spec/dummy-3.2/db/migrate/20150408101403_create_order_things.rb
activerecord-sortable-0.0.5 spec/dummy-4.2/db/migrate/20150408101403_create_order_things.rb
activerecord-sortable-0.0.5 spec/dummy-4.1/db/migrate/20150408101403_create_order_things.rb
activerecord-sortable-0.0.5 spec/dummy-4.0/db/migrate/20150408101403_create_order_things.rb