debian-mirror-gitlab/db/migrate/20160316204731_add_commit_id_to_todos.rb
2016-06-02 11:05:42 +05:30

6 lines
150 B
Ruby

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