Create namespace descendants table
This change adds a cache table for storing namespace descendants and project ids so we can retrieve them efficiently. Changelog: added
显示
- app/models/namespaces/descendants.rb 11 个添加, 0 个删除app/models/namespaces/descendants.rb
- db/docs/namespace_descendants.yml 12 个添加, 0 个删除db/docs/namespace_descendants.yml
- db/migrate/20231221171135_create_namespace_descendants_table.rb 35 个添加, 0 个删除...rate/20231221171135_create_namespace_descendants_table.rb
- db/schema_migrations/20231221171135 1 个添加, 0 个删除db/schema_migrations/20231221171135
- db/structure.sql 655 个添加, 0 个删除db/structure.sql
- spec/db/schema_spec.rb 1 个添加, 0 个删除spec/db/schema_spec.rb
- spec/factories/namespaces/descendants.rb 12 个添加, 0 个删除spec/factories/namespaces/descendants.rb
- spec/lib/gitlab/database/sharding_key_spec.rb 2 个添加, 1 个删除spec/lib/gitlab/database/sharding_key_spec.rb
- spec/models/namespaces/descendants_spec.rb 43 个添加, 0 个删除spec/models/namespaces/descendants_spec.rb
app/models/namespaces/descendants.rb
0 → 100644
db/docs/namespace_descendants.yml
0 → 100644
db/schema_migrations/20231221171135
0 → 100644
此差异已折叠。
spec/factories/namespaces/descendants.rb
0 → 100644
spec/models/namespaces/descendants_spec.rb
0 → 100644
想要评论请 注册 或 登录