gitlab-org--gitlab-foss/app/models
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
..
blob_viewer Implement diff viewers 2017-06-14 10:12:21 -05:00
ci Do not show manual actions that cannot be run 2017-06-13 15:45:45 +02:00
concerns Improve method names and add more specs 2017-06-16 12:03:15 -03:00
conversational_development_index
cycle_analytics
diff_viewer Implement diff viewers 2017-06-14 10:12:21 -05:00
hooks
issue
members
merge_request
network
project_services Rename "Slash commands" to "Quick actions" 2017-06-15 09:01:56 -05:00
protected_branch
protected_tag
.gitkeep
ability.rb
abuse_report.rb
appearance.rb
application_setting.rb Help landing page customizations 2017-06-14 11:40:21 -04:00
audit_event.rb
award_emoji.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
blob.rb Detect if file that appears to be text in the first 1024 bytes is actually binary afer loading all data 2017-06-08 12:49:03 -05:00
board.rb
broadcast_message.rb #13336 - display multiple messages in both the UI and git output 2017-06-15 13:47:33 +00:00
chat_name.rb
chat_team.rb
commit.rb Merge branch '12614-fix-long-message' into 'master' 2017-06-08 10:32:45 +00:00
commit_range.rb
commit_status.rb Handle legacy jobs without name 2017-06-13 11:19:45 +02:00
compare.rb
container_repository.rb Sanitize container repository path in model class 2017-04-13 11:54:02 +02:00
cycle_analytics.rb
dashboard_milestone.rb Improve method names and add more specs 2017-06-16 12:03:15 -03:00
deploy_key.rb
deploy_keys_project.rb
deployment.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
diff_discussion.rb
diff_note.rb
directly_addressed_user.rb
discussion.rb
discussion_note.rb
email.rb
environment.rb Fix etag route misses 2017-06-12 12:59:36 +02:00
event.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
external_issue.rb
forked_project_link.rb
generic_commit_status.rb Allow to access pipelines even if they are disabled, but only present jobs and commit statuses without giving ability to access them 2017-06-13 09:52:48 +02:00
global_label.rb
global_milestone.rb
group.rb
group_label.rb Fix cross-project references copy to include the project reference 2017-01-03 13:01:46 +01:00
group_milestone.rb Improve method names and add more specs 2017-06-16 12:03:15 -03:00
guest.rb
identity.rb
individual_note_discussion.rb Ensure replying to an individual note by email creates a note with its own discussion ID 2017-04-24 12:24:39 -05:00
issue.rb Migration - Remove position field from issues and merge requests 2017-06-16 12:03:15 -03:00
issue_assignee.rb
issue_collection.rb
key.rb
label.rb
label_link.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
label_priority.rb
legacy_diff_discussion.rb
legacy_diff_note.rb
lfs_object.rb
lfs_objects_project.rb
list.rb Merge branch 'expand-backlog-closed-lists-issue-boards' into 'master' 2017-06-07 15:05:37 +00:00
member.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
merge_request.rb Merge branch '27070-rename-slash-commands-to-quick-actions' into 'master' 2017-06-16 16:32:53 +00:00
merge_request_diff.rb Add table for files in merge request diffs 2017-06-16 18:30:01 +01:00
merge_request_diff_file.rb Add table for files in merge request diffs 2017-06-16 18:30:01 +01:00
merge_requests_closing_issues.rb
milestone.rb Improve method names and add more specs 2017-06-16 12:03:15 -03:00
namespace.rb
note.rb Rename "Slash commands" to "Quick actions" 2017-06-15 09:01:56 -05:00
notification_setting.rb Deserialise existing custom notification settings 2017-06-15 15:15:13 +01:00
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 Split Project#reset_cache_and_import_attrs up 2017-06-08 11:31:53 +02:00
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 Backport EE refactorings for Protected Tag EE-only functionality 2017-05-31 13:06:29 +01:00
protected_ref_matcher.rb
protected_tag.rb
readme_blob.rb
redirect_route.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
release.rb
repository.rb Merge branch 'blob-load-all-data' into 'master' 2017-06-08 11:17:43 +00:00
route.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
security_event.rb Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
sent_notification.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
service.rb
snippet.rb
snippet_blob.rb
spam_log.rb Refactor the DeleteUserWorker 2017-06-05 13:08:06 +01:00
subscription.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
system_note_metadata.rb
timelog.rb
todo.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
tree.rb
trending_project.rb
u2f_registration.rb
upload.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
user.rb
user_agent_detail.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
users_star_project.rb
wiki_directory.rb
wiki_page.rb