Sha256: 3d69b5fe114976261c296e7dd07e9d40bd879b30ba224c9bdf3cfb38acb4695f

Contents?: true

Size: 154 Bytes

Versions: 2

Compression:

Stored size: 154 Bytes

Contents

class AddLibraryIdToCheckout < ActiveRecord::Migration[5.2]
  def change
    add_reference :checkouts, :library, index: true, foreign_key: true
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
enju_inventory-0.4.0.rc.1 spec/dummy/db/migrate/20141020120523_add_library_id_to_checkout.rb
enju_circulation-0.4.0.rc.1 db/migrate/20141020120523_add_library_id_to_checkout.rb