Sha256: 3e6fe74cb567d0635d052ec0cd479308ef7579ad1492fa46887d68f7356fde26

Contents?: true

Size: 215 Bytes

Versions: 1

Compression:

Stored size: 215 Bytes

Contents

class CreateReviews < ActiveRecord::Migration
  def change
    create_table :reviews do |t|
      t.string :text
      t.integer :book_id
      t.integer :person_id

      t.timestamps null: false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
has_default_association-0.0.1 test/dummy/db/migrate/20150816140025_create_reviews.rb