-
- Downloads
Remove rails dependent: :destroy statement
Enforced by the database, and no callbacks need to be called. Combined with 7b9b2c6099 and 294a8b8a6d this resolves gitlab-org/gitlab-ce#31799
Showing
- app/models/project.rb 1 addition, 1 deletionapp/models/project.rb
- changelogs/unreleased/zj-clean-up-ci-variables-table.yml 4 additions, 0 deletionschangelogs/unreleased/zj-clean-up-ci-variables-table.yml
- db/migrate/20170508190732_add_foreign_key_to_ci_variables.rb 0 additions, 1 deletiondb/migrate/20170508190732_add_foreign_key_to_ci_variables.rb
- spec/factories/ci/variables.rb 2 additions, 0 deletionsspec/factories/ci/variables.rb
- spec/models/ci/variable_spec.rb 1 addition, 1 deletionspec/models/ci/variable_spec.rb