debian-mirror-gitlab/db/migrate/20160316204731_add_commit_id_to_todos.rb
2019-02-13 22:33:31 +05:30

7 lines
177 B
Ruby

# rubocop:disable all
class AddCommitIdToTodos < ActiveRecord::Migration[4.2]
def change
add_column :todos, :commit_id, :string
add_index :todos, :commit_id
end
end