Sha256: 37c9df67654af634b88f61295ffa0c9c4115376a9a5996c415915321c82aade6

Contents?: true

Size: 251 Bytes

Versions: 34

Compression:

Stored size: 251 Bytes

Contents

class CreateAccepts < ActiveRecord::Migration
  def change
    create_table :accepts do |t|
      t.references :basket, index: true
      t.references :item, index: true
      t.references :librarian, index: true

      t.timestamps
    end
  end
end

Version data entries

34 entries across 30 versions & 13 rubygems

Version Path
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_seed-0.2.1/spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_library-0.2.1/db/migrate/20120319173203_create_accepts.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_seed-0.2.0/spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_library-0.2.2/db/migrate/20120319173203_create_accepts.rb
enju_library-0.2.2 db/migrate/20120319173203_create_accepts.rb
enju_seed-0.2.1 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_library-0.2.1 db/migrate/20120319173203_create_accepts.rb
enju_inventory-0.2.0 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_bookmark-0.2.0 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_ndl-0.2.0 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_library-0.2.0 db/migrate/20120319173203_create_accepts.rb
enju_seed-0.2.0 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_library-0.2.0.beta.10 db/migrate/20120319173203_create_accepts.rb
enju_ndl-0.2.0.beta.3 spec/dummy/db/migrate/20120319173203_create_accepts.rb