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:
authorSean McGivern <sean@gitlab.com>2017-09-05 18:49:05 +0300
committerSean McGivern <sean@gitlab.com>2017-09-06 12:08:03 +0300
commite8f29569bcb4a2d732a2c00b34958f58d5622836 (patch)
tree41b69a559246c423699c741d2f9f252911a2e525 /db/migrate/20170905112933_add_resolved_by_push_to_notes.rb
parentac816d90d4cc116117497479f400211a43db6be1 (diff)
Resolve outdated diff discussions on push
Diffstat (limited to 'db/migrate/20170905112933_add_resolved_by_push_to_notes.rb')
-rw-r--r--db/migrate/20170905112933_add_resolved_by_push_to_notes.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20170905112933_add_resolved_by_push_to_notes.rb b/db/migrate/20170905112933_add_resolved_by_push_to_notes.rb
new file mode 100644
index 00000000000..ceb31ffb08a
--- /dev/null
+++ b/db/migrate/20170905112933_add_resolved_by_push_to_notes.rb
@@ -0,0 +1,9 @@
+class AddResolvedByPushToNotes < ActiveRecord::Migration
+ include Gitlab::Database::MigrationHelpers
+
+ DOWNTIME = false
+
+ def change
+ add_column :notes, :resolved_by_push, :boolean
+ end
+end