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.1.2 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_leaf-1.1.1 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_flower-0.1.0 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_biblio-0.1.1 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_oai-0.1.0 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_library-0.1.0 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_bookmark-0.1.2 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_biblio-0.1.0 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_inter_library_loan-0.1.0 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_circulation-0.1.0 db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_ndl-0.1.0 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_event-0.1.17 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_leaf-1.1.0 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_inter_library_loan-0.1.0.pre12 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_bookmark-0.1.2.pre23 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_ndl-0.1.0.pre38 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_flower-0.1.0.pre24 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_library-0.1.0.pre45 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_biblio-0.1.0.pre71 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_event-0.1.17.pre27 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb