gitlab-org--gitlab-foss/app
Sean McGivern 9a73b634ab Add table for files in merge request diffs
This adds an ID-less table containing one row per file, per merge request
diff. It has a column for each attribute on Gitlab::Git::Diff that is serialised
currently, with the advantage that we can easily query the attributes of this
new table.

It does not migrate existing data, so we have fallback code when the legacy
st_diffs column is present instead. For a merge request diff to be valid, it
should have at most one of:

* Rows in this new table, with the correct merge_request_diff_id.
* A non-NULL st_diffs column.

It may have neither, if the diff is empty.
2017-06-16 18:30:01 +01:00
..
assets Merge branch '27070-rename-slash-commands-to-quick-actions' into 'master' 2017-06-16 16:32:53 +00:00
controllers Remove old specs and add new ones 2017-06-16 12:02:20 -03:00
finders Introduce an Events API 2017-06-06 20:16:41 +08:00
helpers Merge branch '27070-rename-slash-commands-to-quick-actions' into 'master' 2017-06-16 16:32:53 +00:00
mailers use common devise layout and use heading style 2017-06-13 22:36:45 +02:00
models Add table for files in merge request diffs 2017-06-16 18:30:01 +01:00
policies Rename "Slash commands" to "Quick actions" 2017-06-15 09:01:56 -05:00
presenters Display issue state in issue links section of merge request widget 2017-06-09 10:21:56 +02:00
serializers Improve method names and add more specs 2017-06-16 12:03:15 -03:00
services Merge branch '27070-rename-slash-commands-to-quick-actions' into 'master' 2017-06-16 16:32:53 +00:00
uploaders Fix filename method of GitlabUploader to return always real filename 2017-06-13 00:37:12 +02:00
validators Rename `Gitlab::Git::EncodingHelper` to `Gitlab::EncodingHelper` 2017-06-01 21:21:14 +00:00
views Merge branch '27070-rename-slash-commands-to-quick-actions' into 'master' 2017-06-16 16:32:53 +00:00
workers Add the ability to perform background migrations 2017-06-12 13:24:04 +02:00