gitlab-org--gitlab-foss/spec/workers
Yorick Peterse c63e322158
Add many foreign keys to the projects table
This removes the need for relying on Rails' "dependent" option for data
removal, which is _incredibly_ slow (even when using :delete_all) when
deleting large amounts of data. This also ensures data consistency is
enforced on DB level and not on application level (something Rails is
really bad at).

This commit also includes various migrations to add foreign keys to
tables that eventually point to "projects" to ensure no rows get
orphaned upon removing a project.
2017-07-06 12:01:36 +02:00
..
concerns
repository_check
authorized_projects_worker_spec.rb
background_migration_worker_spec.rb
build_coverage_worker_spec.rb
build_finished_worker_spec.rb
build_hooks_worker_spec.rb
build_success_worker_spec.rb
delete_merged_branches_worker_spec.rb
delete_user_worker_spec.rb
email_receiver_worker_spec.rb
emails_on_push_worker_spec.rb
every_sidekiq_worker_spec.rb
expire_build_artifacts_worker_spec.rb
expire_build_instance_artifacts_worker_spec.rb
expire_job_cache_worker_spec.rb
expire_pipeline_cache_worker_spec.rb
git_garbage_collect_worker_spec.rb
gitlab_usage_ping_worker_spec.rb
group_destroy_worker_spec.rb
merge_worker_spec.rb
namespaceless_project_destroy_worker_spec.rb
new_note_worker_spec.rb
pipeline_hooks_worker_spec.rb
pipeline_metrics_worker_spec.rb
pipeline_notification_worker_spec.rb
pipeline_process_worker_spec.rb
pipeline_schedule_worker_spec.rb
pipeline_success_worker_spec.rb
pipeline_update_worker_spec.rb
post_receive_spec.rb
process_commit_worker_spec.rb
project_cache_worker_spec.rb
project_destroy_worker_spec.rb
propagate_service_template_worker_spec.rb
prune_old_events_worker_spec.rb
reactive_caching_worker_spec.rb
remove_expired_group_links_worker_spec.rb
remove_expired_members_worker_spec.rb
remove_old_web_hook_logs_worker_spec.rb
remove_unreferenced_lfs_objects_worker_spec.rb
repository_fork_worker_spec.rb
repository_import_worker_spec.rb
schedule_update_user_activity_worker_spec.rb
stuck_ci_jobs_worker_spec.rb
stuck_import_jobs_worker_spec.rb
system_hook_push_worker_spec.rb
trending_projects_worker_spec.rb
update_merge_requests_worker_spec.rb
update_user_activity_worker_spec.rb
upload_checksum_worker_spec.rb
use_key_worker_spec.rb