gitlab-org--gitlab-foss/spec/models/concerns
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
..
access_requestable_spec.rb Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
awardable_spec.rb
cache_markdown_field_spec.rb
case_sensitivity_spec.rb Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
discussion_on_diff_spec.rb
editable_spec.rb
expirable_spec.rb
faster_cache_keys_spec.rb
feature_gate_spec.rb Rename FLippable to FeatureGate and make flipper_group and user mutually exclusive 2017-06-27 18:59:51 +02:00
has_status_spec.rb Merge branch 'fix/gb/fix-skipped-pipeline-with-allowed-to-fail-jobs' into 'master' 2017-06-26 09:48:48 +00:00
has_variable_spec.rb Improve small things 2017-06-28 15:25:36 +09:00
ignorable_column_spec.rb
issuable_spec.rb Add many foreign keys to the projects table 2017-07-06 12:01:36 +02:00
mentionable_spec.rb Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
milestoneish_spec.rb Improve method names and add more specs 2017-06-16 12:03:15 -03:00
noteable_spec.rb
participable_spec.rb
presentable_spec.rb
project_features_compatibility_spec.rb
reactive_caching_spec.rb Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
relative_positioning_spec.rb
resolvable_discussion_spec.rb Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
resolvable_note_spec.rb
routable_spec.rb Reset @full_path to nil when cache expires 2017-07-03 12:38:01 -03:00
sha_attribute_spec.rb Added code for defining SHA attributes 2017-06-29 15:37:37 +02:00
sortable_spec.rb Revert "Merge branch 'revert-12499' into 'master'" 2017-07-04 17:08:41 +00:00
spammable_spec.rb
strip_attribute_spec.rb
subscribable_spec.rb
token_authenticatable_spec.rb Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
uniquify_spec.rb