Sha256: ead49b5a35e59d21bd18dd6f7bfb8d8f4bfe11c77648a5cd05a33564a70d31ea

Contents?: true

Size: 364 Bytes

Versions: 1

Compression:

Stored size: 364 Bytes

Contents

# This migration comes from discussion (originally 20130501075956)
class CreateDiscussionConcerns < ActiveRecord::Migration
  def change
    create_table :discussion_concerns do |t|
      t.integer :user_id
      t.integer :thread_id

      t.timestamps
    end

    add_index :discussion_concerns, :user_id
    add_index :discussion_concerns, :thread_id
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
discussion-0.0.1 test/dummy/db/migrate/20130501154801_create_discussion_concerns.discussion.rb