summaryrefslogtreecommitdiff
path: root/db/migrate/20160316204731_add_commit_id_to_todos.rb
blob: d79858fc920d06ee14caef0f8be95e91e09533e2 (plain)
1
2
3
4
5
6
7
# rubocop:disable all
class AddCommitIdToTodos < ActiveRecord::Migration
  def change
    add_column :todos, :commit_id, :string
    add_index :todos, :commit_id
  end
end