Sha256: e80b0fff5c294ed5c992c40e097541e8863c48c73d466c85ed89f4977838b31b

Contents?: true

Size: 209 Bytes

Versions: 5

Compression:

Stored size: 209 Bytes

Contents

class CreateComments < ActiveRecord::Migration
  def change
    create_table :comments do |t|
      t.integer :commentable_id
      t.string :commentable_type

      t.timestamps null: false
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activerecord-precount-0.7.0 sample/db/migrate/20160603161833_create_comments.rb
activerecord-precount-0.7.0.beta1 sample/db/migrate/20160603161833_create_comments.rb
activerecord-precount-0.6.3 sample/db/migrate/20160603161833_create_comments.rb
activerecord-precount-0.6.2 sample/db/migrate/20160603161833_create_comments.rb
activerecord-precount-0.6.1 sample/db/migrate/20160603161833_create_comments.rb