gitlab-org--gitlab-foss/spec/features/projects
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
..
activity
artifacts
badges
blobs
branches
commit
diffs
environments
files
import_export
issues
labels
main
members
merge_requests
milestones
pipelines
services
settings
snippets
tags
tree
wiki
branches_spec.rb
compare_spec.rb
deploy_keys_spec.rb
developer_views_empty_project_instructions_spec.rb
edit_spec.rb
features_visibility_spec.rb
gfm_autocomplete_load_spec.rb
group_links_spec.rb
guest_navigation_menu_spec.rb
issuable_templates_spec.rb
jobs_spec.rb
merge_request_button_spec.rb
new_project_spec.rb
pages_spec.rb
pipeline_schedules_spec.rb
project_settings_spec.rb
ref_switcher_spec.rb
shortcuts_spec.rb
snippets_spec.rb
sub_group_issuables_spec.rb
user_create_dir_spec.rb
view_on_env_spec.rb