Sha256: 376d325b838b9498b1da3c8cd5d6dccbbd0e8a06288a28a9b887d6f8c8dd3fc3

Contents?: true

Size: 267 Bytes

Versions: 34

Compression:

Stored size: 267 Bytes

Contents

class CreateWithdraws < ActiveRecord::Migration
  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

34 entries across 30 versions & 13 rubygems

Version Path
enju_leaf-1.2.2 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_manifestation_viewer-0.2.4 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_library-0.2.5 db/migrate/20150924115059_create_withdraws.rb
enju_manifestation_viewer-0.2.3 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_biblio-0.2.5 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_bookmark-0.2.2 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_purchase_request-0.2.1 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_inter_library_loan-0.2.0 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_message-0.2.4 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_event-0.2.3 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_circulation-0.2.5 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_seed-0.2.3 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_library-0.2.4 db/migrate/20150924115059_create_withdraws.rb
enju_bookmark-0.2.1 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_library-0.2.3 db/migrate/20150924115059_create_withdraws.rb
enju_seed-0.2.2 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_ndl-0.2.3 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_ndl-0.2.2 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_ndl-0.2.1 spec/dummy/db/migrate/20150924115059_create_withdraws.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/bundler/gems/enju_library-d36f415e177e/db/migrate/20150924115059_create_withdraws.rb