debian-mirror-gitlab/db/migrate/20160316204731_add_commit_id_to_todos.rb
2019-02-15 15:39:39 +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