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 Use sum instead of map + inject 2017-06-02 17:17:24 +02:00
cycle_analytics
diff_viewer Implement diff viewers 2017-06-14 10:12:21 -05:00
hooks Added Cop to blacklist the use of serialize 2017-05-31 14:03:37 +02:00
issue
members Allow group reporters to manage group labels 2017-06-05 11:58:53 +01:00
merge_request
network
project_services Rename "Slash commands" to "Quick actions" 2017-06-15 09:01:56 -05:00
protected_branch Enabled no-one as a merge access level in protected branches 2017-05-10 17:19:40 +01:00
protected_tag
.gitkeep
ability.rb
abuse_report.rb Refactor the DeleteUserWorker 2017-06-05 13:08:06 +01:00
appearance.rb
application_setting.rb Help landing page customizations 2017-06-14 11:40:21 -04:00
audit_event.rb Added Cop to blacklist the use of serialize 2017-05-31 14:03:37 +02:00
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 Expand/collapse close & backlog lists in issue boards 2017-05-31 12:34:54 +01:00
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
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 Update diff discussion position per discussion instead of per note 2017-05-31 14:34:56 -05:00
diff_note.rb Merge branch 'dm-update-discussion-diff-position' into 'master' 2017-06-01 14:00:00 +00:00
directly_addressed_user.rb
discussion.rb Fix replying to a commit discussion displayed in the context of an MR 2017-06-01 09:52:11 -05:00
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 Allow group reporters to manage group labels 2017-06-05 11:58:53 +01:00
group_label.rb
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
issue.rb Migration - Remove position field from issues and merge requests 2017-06-16 12:03:15 -03:00
issue_assignee.rb Move update_assignee_cache_counts to the service 2017-05-12 14:12:29 +03:00
issue_collection.rb
key.rb Don’t schedule workers from inside transactions 2017-06-02 11:43:32 -05:00
label.rb Enable the Style/PreferredHashMethods cop 2017-06-02 19:11:26 +02:00
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 Added Cop to blacklist the use of serialize 2017-05-31 14:03:37 +02:00
lfs_object.rb
lfs_objects_project.rb Don’t schedule workers from inside transactions 2017-06-02 11:43:32 -05:00
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 Don’t schedule workers from inside transactions 2017-06-02 11:43:32 -05:00
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 Allow numeric pages domain 2017-06-06 12:39:37 +01:00
personal_access_token.rb Merge branch 'zj-read-registry-pat' into 'master' 2017-06-07 09:20:57 +00:00
personal_snippet.rb
project.rb Split Project#reset_cache_and_import_attrs up 2017-06-08 11:31:53 +02:00
project_authorization.rb Use CTEs for nested groups and authorizations 2017-05-17 16:51:08 +02:00
project_feature.rb
project_group_link.rb
project_import_data.rb Added Cop to blacklist the use of serialize 2017-05-31 14:03:37 +02:00
project_label.rb
project_snippet.rb
project_statistics.rb
project_team.rb Fix N+1 queries for non-members in comment threads 2017-06-01 10:21:26 +01:00
project_wiki.rb Don't allow to pass a user to ProjectWiki#http_url_to_repo 2017-05-30 14:18:58 +02:00
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 Backport EE refactorings for Protected Tag EE-only functionality 2017-05-31 13:06:29 +01:00
readme_blob.rb Load tree readme asynchronously 2017-05-10 08:21:58 -05:00
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
sent_notification.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
service.rb Added Cop to blacklist the use of serialize 2017-05-31 14:03:37 +02:00
snippet.rb Merge branch '12910-snippets-description' into 'master' 2017-06-07 09:26:48 +00:00
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 Add system note with link to diff comparison when MR discussion becomes outdated 2017-05-23 16:27:30 -05:00
timelog.rb
todo.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
tree.rb Load tree readme asynchronously 2017-05-10 08:21:58 -05:00
trending_project.rb
u2f_registration.rb
upload.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
user.rb Backport https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1942 2017-06-06 21:42:45 +08:00
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