Add project export relations models to Import/Export
In order to parallelize the project export in Import/Export, two new are being added to Import/Export to track and store the partial export files. The table `project_export_relations` will hold the status of the relation exportation. And the table `project_export_relation_uploads` will store the location of the exported file. Changelog: added
显示
- app/models/project_export_job.rb 1 个添加, 0 个删除app/models/project_export_job.rb
- app/models/projects/import_export/relation_export.rb 22 个添加, 0 个删除app/models/projects/import_export/relation_export.rb
- app/models/projects/import_export/relation_export_upload.rb 19 个添加, 0 个删除app/models/projects/import_export/relation_export_upload.rb
- db/docs/project_relation_export_uploads.yml 9 个添加, 0 个删除db/docs/project_relation_export_uploads.yml
- db/docs/project_relation_exports.yml 9 个添加, 0 个删除db/docs/project_relation_exports.yml
- db/migrate/20220619182308_create_project_relation_exports.rb 20 个添加, 0 个删除db/migrate/20220619182308_create_project_relation_exports.rb
- db/migrate/20220619184931_create_project_relation_export_uploads.rb 15 个添加, 0 个删除.../20220619184931_create_project_relation_export_uploads.rb
- db/schema_migrations/20220619182308 1 个添加, 0 个删除db/schema_migrations/20220619182308
- db/schema_migrations/20220619184931 1 个添加, 0 个删除db/schema_migrations/20220619184931
- db/structure.sql 63 个添加, 0 个删除db/structure.sql
- lib/gitlab/database/gitlab_schemas.yml 2 个添加, 0 个删除lib/gitlab/database/gitlab_schemas.yml
- spec/factories/projects/import_export/export_relation.rb 11 个添加, 0 个删除spec/factories/projects/import_export/export_relation.rb
- spec/fixtures/gitlab/import_export/labels.tar.gz 0 个添加, 0 个删除spec/fixtures/gitlab/import_export/labels.tar.gz
- spec/models/project_export_job_spec.rb 5 个添加, 8 个删除spec/models/project_export_job_spec.rb
- spec/models/projects/import_export/relation_export_spec.rb 23 个添加, 0 个删除spec/models/projects/import_export/relation_export_spec.rb
- spec/models/projects/import_export/relation_export_upload_spec.rb 25 个添加, 0 个删除...els/projects/import_export/relation_export_upload_spec.rb
加载中
想要评论请 注册 或 登录