Adds DB fixtures to create base work item types
Fixtures are needed for new installs. A migration was also added for existing installs. Changelog: changed
上级
afa96a9e
No related branches found
No related tags found
显示
- app/models/work_item/type.rb 10 个添加, 6 个删除app/models/work_item/type.rb
- db/fixtures/development/001_create_base_work_item_types.rb 5 个添加, 0 个删除db/fixtures/development/001_create_base_work_item_types.rb
- db/fixtures/production/003_create_base_work_item_types.rb 5 个添加, 0 个删除db/fixtures/production/003_create_base_work_item_types.rb
- db/migrate/20210831203408_upsert_base_work_item_types.rb 31 个添加, 0 个删除db/migrate/20210831203408_upsert_base_work_item_types.rb
- db/schema_migrations/20210831203408 1 个添加, 0 个删除db/schema_migrations/20210831203408
- lib/gitlab/database_importers/work_items/base_type_importer.rb 15 个添加, 0 个删除...itlab/database_importers/work_items/base_type_importer.rb
- spec/db/development/create_base_work_item_types_spec.rb 9 个添加, 0 个删除spec/db/development/create_base_work_item_types_spec.rb
- spec/db/production/create_base_work_item_types_spec.rb 9 个添加, 0 个删除spec/db/production/create_base_work_item_types_spec.rb
- spec/lib/gitlab/database_importers/work_items/base_type_importer_spec.rb 9 个添加, 0 个删除.../database_importers/work_items/base_type_importer_spec.rb
- spec/migrations/20210831203408_upsert_base_work_item_types_spec.rb 48 个添加, 0 个删除...ations/20210831203408_upsert_base_work_item_types_spec.rb
- spec/support/shared_examples/work_item_base_types_importer.rb 7 个添加, 0 个删除.../support/shared_examples/work_item_base_types_importer.rb
db/schema_migrations/20210831203408
0 → 100644
想要评论请 注册 或 登录