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_oai-0.1.0.pre20 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_circulation-0.1.0.pre49 db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_leaf-1.1.0.rc22 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_library-0.1.0.pre44 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_biblio-0.1.0.pre70 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_leaf-1.1.0.rc21 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_circulation-0.1.0.pre48 db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_oai-0.1.0.pre19 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_biblio-0.1.0.pre69 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_oai-0.1.0.pre18 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_flower-0.1.0.pre23 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_leaf-1.1.0.rc20 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_biblio-0.1.0.pre68 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_library-0.1.0.pre43 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_circulation-0.1.0.pre47 db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_biblio-0.1.0.pre67 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_library-0.1.0.pre42 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_circulation-0.1.0.pre46 db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_ndl-0.1.0.pre37 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_event-0.1.17.pre26 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb