Sha256: e285a4a07f80af66d699f9982d5f22fa5bcc2f6223beb55dd2dc1fed7fd678a0

Contents?: true

Size: 209 Bytes

Versions: 8

Compression:

Stored size: 209 Bytes

Contents

class CreateComments < ActiveRecord::Migration[5.1]
  def change
    create_table :comments do |t|
      t.string :body
      t.references :job_posting, foreign_key: true

      t.timestamps
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gnarails-3.0.1 test-app/db/migrate/20170918002455_create_comments.rb
gnarails-3.0.0 test-app/db/migrate/20170918002455_create_comments.rb
gnarails-2.0.0 test-app/db/migrate/20170918002455_create_comments.rb
gnarails-1.0.0 test-app/db/migrate/20170918002455_create_comments.rb
gnarails-0.9.3 test-app/db/migrate/20170918002455_create_comments.rb
gnarails-0.9.2 test-app/db/migrate/20170918002455_create_comments.rb
gnarails-0.9.1 test-app/db/migrate/20170918002455_create_comments.rb
gnarails-0.9.0 test-app/db/migrate/20170918002455_create_comments.rb