Sha256: c8918cc5c2bc2cdca1d3bd45bc9cc092fd38d3d01fe284ea7931f54bba805bda

Contents?: true

Size: 215 Bytes

Versions: 3

Compression:

Stored size: 215 Bytes

Contents

class CreateComments < ActiveRecord::Migration[4.2]
  def change
    create_table :comments do |t|
      t.text :text
      t.integer :blog_id

      t.timestamps
    end
    add_index :comments, :blog_id
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
brightcontent-core-2.6.0 spec/dummy/db/migrate/20130720211920_create_comments.rb
brightcontent-core-2.5.1 spec/dummy/db/migrate/20130720211920_create_comments.rb
brightcontent-core-2.5.0 spec/dummy/db/migrate/20130720211920_create_comments.rb