debian-mirror-gitlab/db/migrate/20160316204731_add_commit_id_to_todos.rb

8 lines
172 B
Ruby
Raw Normal View History

# rubocop:disable all
2019-01-03 12:48:30 +05:30
class AddCommitIdToTodos < ActiveRecord::Migration
2016-06-02 11:05:42 +05:30
def change
add_column :todos, :commit_id, :string
add_index :todos, :commit_id
end
end