Sha256: 23b963a73516d20c8089dae2a1a159effd9622aef5b741f9277471a7f91546f2

Contents?: true

Size: 159 Bytes

Versions: 166

Compression:

Stored size: 159 Bytes

Contents

class AddShelfIdToCheckout < ActiveRecord::Migration
  def change
    add_column :checkouts, :shelf_id, :integer
    add_index :checkouts, :shelf_id
  end
end

Version data entries

166 entries across 159 versions & 11 rubygems

Version Path
enju_leaf-1.2.2 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_library-0.2.5 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_biblio-0.2.5 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_bookmark-0.2.2 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_event-0.2.3 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_seed-0.2.3 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_biblio-0.2.4 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_library-0.2.4 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_event-0.2.2 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_bookmark-0.2.1 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_biblio-0.2.3 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_library-0.2.3 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_seed-0.2.2 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_ndl-0.2.3 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_ndl-0.2.2 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_biblio-0.2.2 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_ndl-0.2.1 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_event-0.2.1 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/bundler/gems/enju_library-d36f415e177e/spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_leaf-1.2.1 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb