summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorRubén Dávila <rdavila84@gmail.com>2016-01-29 12:04:48 -0500
committerRobert Speicher <rspeicher@gmail.com>2016-02-19 13:14:49 -0500
commitf56ee9d3b92d97560d3c35f25736556ae3861343 (patch)
tree174ce043a502c505411922bbc27c5088d8d4e63f /db
parent720e52d9d9d53854f21de6ce634fa26bd358c453 (diff)
downloadgitlab-ce-f56ee9d3b92d97560d3c35f25736556ae3861343.tar.gz
Save merge commit id when MR is merged
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20160129155512_add_merge_commit_sha_to_merge_requests.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20160129155512_add_merge_commit_sha_to_merge_requests.rb b/db/migrate/20160129155512_add_merge_commit_sha_to_merge_requests.rb
new file mode 100644
index 00000000000..f0d94226514
--- /dev/null
+++ b/db/migrate/20160129155512_add_merge_commit_sha_to_merge_requests.rb
@@ -0,0 +1,5 @@
+class AddMergeCommitShaToMergeRequests < ActiveRecord::Migration
+ def change
+ add_column :merge_requests, :merge_commit_sha, :string
+ end
+end