class CreateUserCurrentSegments < ActiveRecord::Migration
  def change
    create_table :user_current_segments do |t|
      t.belongs_to :user, index: true
      t.belongs_to :course, index: true
      t.belongs_to :segment, index: true

      t.timestamps
    end
  end
end
