debian-mirror-gitlab/db/migrate/20160724205507_add_resolved_to_notes.rb

12 lines
278 B
Ruby
Raw Normal View History

2017-09-10 17:25:29 +05:30
# rubocop:disable Migration/Datetime
2018-12-23 12:14:25 +05:30
class AddResolvedToNotes < ActiveRecord::Migration[4.2]
2016-09-13 17:45:13 +05:30
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def change
add_column :notes, :resolved_at, :datetime
add_column :notes, :resolved_by_id, :integer
end
end