Sha256: 8deff02913ba359ada7a421f0f8f9c5d5e404eb551c5e5609abc196960be1594

Contents?: true

Size: 255 Bytes

Versions: 1

Compression:

Stored size: 255 Bytes

Contents

class CreateVisits < ActiveRecord::Migration
  def change
    create_table :visits do |t|
      t.references :place, index: true, foreign_key: true
      t.references :user, index: true, foreign_key: true

      t.timestamps null: false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eager_counting-0.1.0 test/dummy/db/migrate/20150727081827_create_visits.rb