diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-01-20 18:44:27 +0100 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-01-20 18:44:27 +0100 |
commit | 577f2fb47a7ef57415b78b49d5c746d4e99f6a98 (patch) | |
tree | ef621d0febcae9079253b93ae5c319ae94e8d4de /db/migrate/20160120172143_add_base_commit_sha_to_merge_request_diffs.rb | |
parent | 26f7d023e6d15f4deab39f74509bd6dddebf6974 (diff) | |
download | gitlab-ce-577f2fb47a7ef57415b78b49d5c746d4e99f6a98.tar.gz |
Save and use actual diff base commit for MR diff highlighting
Diffstat (limited to 'db/migrate/20160120172143_add_base_commit_sha_to_merge_request_diffs.rb')
-rw-r--r-- | db/migrate/20160120172143_add_base_commit_sha_to_merge_request_diffs.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20160120172143_add_base_commit_sha_to_merge_request_diffs.rb b/db/migrate/20160120172143_add_base_commit_sha_to_merge_request_diffs.rb new file mode 100644 index 00000000000..d6c6aa4a4e8 --- /dev/null +++ b/db/migrate/20160120172143_add_base_commit_sha_to_merge_request_diffs.rb @@ -0,0 +1,5 @@ +class AddBaseCommitShaToMergeRequestDiffs < ActiveRecord::Migration + def change + add_column :merge_request_diffs, :base_commit_sha, :string + end +end |