diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-06-20 18:43:55 +0200 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-07-06 18:49:03 -0400 |
commit | 18a5bb05204ee437902d82e5973a427b9aac6d53 (patch) | |
tree | 25e739027830e64aa06e7f2f832478c6ae4f8439 /db | |
parent | c66a7b0e949d384448fc1097bf8c1af1d6b7324d (diff) | |
download | gitlab-ce-18a5bb05204ee437902d82e5973a427b9aac6d53.tar.gz |
Store diff head and start commit shas on MR diffs
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20160508202603_add_head_commit_id_to_merge_request_diffs.rb | 5 | ||||
-rw-r--r-- | db/migrate/20160516224534_add_start_commit_id_to_merge_request_diffs.rb | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20160508202603_add_head_commit_id_to_merge_request_diffs.rb b/db/migrate/20160508202603_add_head_commit_id_to_merge_request_diffs.rb new file mode 100644 index 00000000000..1c4d60e7234 --- /dev/null +++ b/db/migrate/20160508202603_add_head_commit_id_to_merge_request_diffs.rb @@ -0,0 +1,5 @@ +class AddHeadCommitIdToMergeRequestDiffs < ActiveRecord::Migration + def change + add_column :merge_request_diffs, :head_commit_sha, :string + end +end diff --git a/db/migrate/20160516224534_add_start_commit_id_to_merge_request_diffs.rb b/db/migrate/20160516224534_add_start_commit_id_to_merge_request_diffs.rb new file mode 100644 index 00000000000..b7fd76ee84b --- /dev/null +++ b/db/migrate/20160516224534_add_start_commit_id_to_merge_request_diffs.rb @@ -0,0 +1,5 @@ +class AddStartCommitIdToMergeRequestDiffs < ActiveRecord::Migration + def change + add_column :merge_request_diffs, :start_commit_sha, :string + end +end |