class CreateTagsQuestionsJoinTable < ActiveRecord::Migration
  def change
  	create_table :questions_tags, id: false do |t|
      t.belongs_to :question, index: true
      t.belongs_to :tag, index: true
    end
  end
end

Add join table for questions and tags
Add join table for questions and tags
