Remove support for uses_legacy_database_config
This was planned to to be removed in `15.0`. This setting in `config/database.yml` (or inferred from the structure of `config/database.yml`) allowed GitLab installations (from source) to stick to the old "flat" structure. Since we've already updated Omnibus installations and GDK to no longer generate this flat structure there would only be installations from source that are affected by this change and they should have already been receiving deprecation warnings for some months. This change will ensure they see an error if they don't have a top level `main` key in their `config/database.yml` and all they need to do is nest the config under `main` to fix the problem. Changelog: removed
显示
- config/initializers/validate_database_config.rb 0 个添加, 6 个删除config/initializers/validate_database_config.rb
- ee/spec/lib/gitlab/patch/database_config_spec.rb 32 个添加, 155 个删除ee/spec/lib/gitlab/patch/database_config_spec.rb
- lib/gitlab/patch/database_config.rb 0 个添加, 21 个删除lib/gitlab/patch/database_config.rb
- spec/initializers/validate_database_config_spec.rb 8 个添加, 32 个删除spec/initializers/validate_database_config_spec.rb
- spec/lib/gitlab/patch/database_config_spec.rb 4 个添加, 55 个删除spec/lib/gitlab/patch/database_config_spec.rb
加载中
想要评论请 注册 或 登录