Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-07-26 07:33:01 +0300
committerDouwe Maan <douwe@selenight.nl>2016-07-26 07:33:01 +0300
commit46cc034e05448ff3f515c8e6ad2f72e3e0d657cc (patch)
treefeaee2a04b7b4e15dbafbfdd99cf0d366d0392a2 /db/migrate/20160724205507_add_resolved_to_notes.rb
parent44ad0743349ea0495ff1b956d14ff244dbbe5b80 (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.rb10
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