9a73b634ab
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. |
||
---|---|---|
.. | ||
blob_viewer | ||
ci | ||
concerns | ||
conversational_development_index | ||
cycle_analytics | ||
diff_viewer | ||
hooks | ||
issue | ||
members | ||
merge_request | ||
network | ||
project_services | ||
protected_branch | ||
protected_tag | ||
.gitkeep | ||
ability.rb | ||
abuse_report.rb | ||
appearance.rb | ||
application_setting.rb | ||
audit_event.rb | ||
award_emoji.rb | ||
blob.rb | ||
board.rb | ||
broadcast_message.rb | ||
chat_name.rb | ||
chat_team.rb | ||
commit.rb | ||
commit_range.rb | ||
commit_status.rb | ||
compare.rb | ||
container_repository.rb | ||
cycle_analytics.rb | ||
dashboard_milestone.rb | ||
deploy_key.rb | ||
deploy_keys_project.rb | ||
deployment.rb | ||
diff_discussion.rb | ||
diff_note.rb | ||
directly_addressed_user.rb | ||
discussion.rb | ||
discussion_note.rb | ||
email.rb | ||
environment.rb | ||
event.rb | ||
external_issue.rb | ||
forked_project_link.rb | ||
generic_commit_status.rb | ||
global_label.rb | ||
global_milestone.rb | ||
group.rb | ||
group_label.rb | ||
group_milestone.rb | ||
guest.rb | ||
identity.rb | ||
individual_note_discussion.rb | ||
issue.rb | ||
issue_assignee.rb | ||
issue_collection.rb | ||
key.rb | ||
label.rb | ||
label_link.rb | ||
label_priority.rb | ||
legacy_diff_discussion.rb | ||
legacy_diff_note.rb | ||
lfs_object.rb | ||
lfs_objects_project.rb | ||
list.rb | ||
member.rb | ||
merge_request.rb | ||
merge_request_diff.rb | ||
merge_request_diff_file.rb | ||
merge_requests_closing_issues.rb | ||
milestone.rb | ||
namespace.rb | ||
note.rb | ||
notification_setting.rb | ||
oauth_access_grant.rb | ||
oauth_access_token.rb | ||
out_of_context_discussion.rb | ||
pages_domain.rb | ||
personal_access_token.rb | ||
personal_snippet.rb | ||
project.rb | ||
project_authorization.rb | ||
project_feature.rb | ||
project_group_link.rb | ||
project_import_data.rb | ||
project_label.rb | ||
project_snippet.rb | ||
project_statistics.rb | ||
project_team.rb | ||
project_wiki.rb | ||
protectable_dropdown.rb | ||
protected_branch.rb | ||
protected_ref_matcher.rb | ||
protected_tag.rb | ||
readme_blob.rb | ||
redirect_route.rb | ||
release.rb | ||
repository.rb | ||
route.rb | ||
security_event.rb | ||
sent_notification.rb | ||
service.rb | ||
snippet.rb | ||
snippet_blob.rb | ||
spam_log.rb | ||
subscription.rb | ||
system_note_metadata.rb | ||
timelog.rb | ||
todo.rb | ||
tree.rb | ||
trending_project.rb | ||
u2f_registration.rb | ||
upload.rb | ||
user.rb | ||
user_agent_detail.rb | ||
users_star_project.rb | ||
wiki_directory.rb | ||
wiki_page.rb |