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_biblio-0.1.0.pre64 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_leaf-1.1.0.rc17 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_leaf-1.1.0.rc16 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_circulation-0.1.0.pre41 db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_library-0.1.0.pre39 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
enju_biblio-0.1.0.pre63 spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb