diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-07-26 07:33:01 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-07-26 07:33:01 +0300 |
commit | 46cc034e05448ff3f515c8e6ad2f72e3e0d657cc (patch) | |
tree | feaee2a04b7b4e15dbafbfdd99cf0d366d0392a2 /db/migrate/20160724205507_add_resolved_to_notes.rb | |
parent | 44ad0743349ea0495ff1b956d14ff244dbbe5b80 (diff) |
Add resolved_at and resolved_by_id to DiffNote
Diffstat (limited to 'db/migrate/20160724205507_add_resolved_to_notes.rb')
-rw-r--r-- | db/migrate/20160724205507_add_resolved_to_notes.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20160724205507_add_resolved_to_notes.rb b/db/migrate/20160724205507_add_resolved_to_notes.rb new file mode 100644 index 00000000000..b8ebcdbd156 --- /dev/null +++ b/db/migrate/20160724205507_add_resolved_to_notes.rb @@ -0,0 +1,10 @@ +class AddResolvedToNotes < ActiveRecord::Migration + include Gitlab::Database::MigrationHelpers + + DOWNTIME = false + + def change + add_column :notes, :resolved_at, :datetime + add_column :notes, :resolved_by_id, :integer + end +end |