Sha256: d0dd9c41e4f1d0d5eb6ce71ea178f6888b2a893aa6d2ae4a696eb5b840038e65

Contents?: true

Size: 181 Bytes

Versions: 8

Compression:

Stored size: 181 Bytes

Contents

class AddForeignKeyToShelvesReferencingLibraries < ActiveRecord::Migration[4.2]
  def change
    add_foreign_key :shelves, :libraries
    add_foreign_key :items, :shelves
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
enju_bookmark-0.3.2 spec/dummy/db/migrate/20150124152756_add_foreign_key_to_shelves_referencing_libraries.rb
enju_inventory-0.3.1 spec/dummy/db/migrate/20150124152756_add_foreign_key_to_shelves_referencing_libraries.rb
enju_bookmark-0.3.1 spec/dummy/db/migrate/20150124152756_add_foreign_key_to_shelves_referencing_libraries.rb
enju_inventory-0.3.0 spec/dummy/db/migrate/20150124152756_add_foreign_key_to_shelves_referencing_libraries.rb
enju_bookmark-0.3.0 spec/dummy/db/migrate/20150124152756_add_foreign_key_to_shelves_referencing_libraries.rb
enju_inter_library_loan-0.3.0.beta.1 spec/dummy/db/migrate/20150124152756_add_foreign_key_to_shelves_referencing_libraries.rb
enju_inventory-0.3.0.beta.1 spec/dummy/db/migrate/20150124152756_add_foreign_key_to_shelves_referencing_libraries.rb
enju_bookmark-0.3.0.beta.1 spec/dummy/db/migrate/20150124152756_add_foreign_key_to_shelves_referencing_libraries.rb