Sha256: 55dcd87810400595e91bd9223ff25e64b6d2f9148a8d9346b47f8e7bccd3612c

Contents?: true

Size: 272 Bytes

Versions: 10

Compression:

Stored size: 272 Bytes

Contents

class CreateWithdraws < ActiveRecord::Migration[5.2]
  def change
    create_table :withdraws do |t|
      t.references :basket, index: true
      t.references :item, index: true
      t.references :librarian, index: true

      t.timestamps null: false
    end
  end
end

Version data entries

10 entries across 10 versions & 10 rubygems

Version Path
enju_inventory-0.4.0.rc.1 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_ndl-0.4.0.rc.1 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_circulation-0.4.0.rc.1 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_manifestation_viewer-0.4.0.rc.1 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_subject-0.4.0.rc.1 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_event-0.4.0.rc.1 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_message-0.4.0.rc.1 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_biblio-0.4.0.rc.1 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_library-0.4.0.rc.1 db/migrate/20150924115059_create_withdraws.rb
enju_seed-0.4.0.rc.2 spec/dummy/db/migrate/20150924115059_create_withdraws.rb