gitlab-org--gitlab-foss/db/migrate/20160316204731_add_commit_id_to_todos.rb
Douglas Barbosa Alexandre 1e76245d4e Add commit_id to todos
2016-03-18 11:00:53 -03:00

6 lines
150 B
Ruby

class AddCommitIdToTodos < ActiveRecord::Migration
def change
add_column :todos, :commit_id, :string
add_index :todos, :commit_id
end
end