summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-06-27 09:38:58 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-06-27 09:38:58 +0000
commiteacce60b1744775f4bb4c7dccfe29912d70b9984 (patch)
tree28524d6b52a9b6fa7aa1bfb6b13b6f93a36328bd /db/migrate
parentefc5fbfd77f086fc39553e3b03e52e25e0eec24a (diff)
parent0eb3d18c569cbae0f4b58284857c7a21972c4153 (diff)
downloadgitlab-ce-eacce60b1744775f4bb4c7dccfe29912d70b9984.tar.gz
Merge branch '34052-store-mr-ref-fetched-in-database' into 'master'
Store merge request ref_fetched status in the database Closes #34052 See merge request !12424
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20170622162730_add_ref_fetched_to_merge_request.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20170622162730_add_ref_fetched_to_merge_request.rb b/db/migrate/20170622162730_add_ref_fetched_to_merge_request.rb
new file mode 100644
index 00000000000..62aa1a4b4f0
--- /dev/null
+++ b/db/migrate/20170622162730_add_ref_fetched_to_merge_request.rb
@@ -0,0 +1,9 @@
+class AddRefFetchedToMergeRequest < ActiveRecord::Migration
+ include Gitlab::Database::MigrationHelpers
+
+ DOWNTIME = false
+
+ def change
+ add_column :merge_requests, :ref_fetched, :boolean
+ end
+end