Sha256: 9eaa0060e76a4335aa9f8e35d96d4fe9269b7878cb3b0155dde15e96cf72979d

Contents?: true

Size: 321 Bytes

Versions: 2

Compression:

Stored size: 321 Bytes

Contents

class CreateDemands < ActiveRecord::Migration[5.2]
  def change
    create_table :demands do |t|
      t.references :user, index: true, foreign_key: true
      t.references :item, index: true, foreign_key: true
      t.references :message, index: true, foreign_key: true

      t.timestamps null: false
    end
  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/20150106001709_create_demands.rb
enju_circulation-0.4.0.rc.1 db/migrate/20150106001709_create_demands.rb