Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Davila <rdavila84@gmail.com>2017-01-26 04:16:09 +0300
committerRuben Davila <rdavila84@gmail.com>2017-02-07 18:41:44 +0300
commitbdc932245088b3a7ae5d633e81175352d5599083 (patch)
treef98c8d57c6f7d1f9e1d6a2a2eda8835fd9c2f0be /spec/lib/gitlab/import_export/safe_model_attributes.yml
parent8abdabdb3ad9e4b87893f24042de077cd4a7d791 (diff)
Use normal associations instead of polymorphic.
We can't properly use foreign keys on columns that are configured for polymorphic associations which has disadvantages related to data integrity and storage. Given we only use time tracking for Issues and Merge Requests we're moving to the usage of regular associations.
Diffstat (limited to 'spec/lib/gitlab/import_export/safe_model_attributes.yml')
-rw-r--r--spec/lib/gitlab/import_export/safe_model_attributes.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/import_export/safe_model_attributes.yml b/spec/lib/gitlab/import_export/safe_model_attributes.yml
index 95b230e4f5c..c5ac702d831 100644
--- a/spec/lib/gitlab/import_export/safe_model_attributes.yml
+++ b/spec/lib/gitlab/import_export/safe_model_attributes.yml
@@ -350,8 +350,8 @@ LabelPriority:
Timelog:
- id
- time_spent
-- trackable_id
-- trackable_type
+- merge_request_id
+- issue_id
- user_id
- created_at
- updated_at