localgovdrupal / localgov_legacy_migration
为旧版Croydon和BHCC网站提供迁移。
dev-master
2021-04-28 12:22 UTC
Requires
- drupal/migrate_drupal_d8: ^1.0@beta
- drupal/migrate_plus: ^5.1
- drupal/migrate_tools: ^5.0
- drupal/redirect: ^1.6
- dev-master
- dev-feature/bhcc-site-specific
- dev-feature/d9-support
- dev-fix/d9-support
- dev-feature/croydon-site-specific
- dev-feature/33-replace-campaigns-with-subsites
- dev-feature/incremental-migration
- dev-feature/24-more-migration-groups
- dev-feature/7-revisions
- dev-fix/2-content-moderation
- dev-feature/12-file-migration
- dev-develop
- dev-feature/16-campaigns-migration
- dev-feature/16-path-aliases
- dev-feature/15-directory-migration
- dev-feature/11-basic-migration
- dev-fix/3-4-5-initial-migration-fields
This package is auto-updated.
Last update: 2024-09-13 16:20:01 UTC
README
包含旧实体名称、字段名称映射以及适当的数据在不同字段间迁移的YAML文件。
运行这些Drupal 8迁移有两种方式:
第一种是它们目前的设置。从一个数据库迁移到另一个数据库。这需要基于SQL的迁移源,可在https://www.drupal.org/project/migrate_drupal_d8找到。额外的工作是添加未记录的实体的缺失迁移,例如用户。
第二种方式是在现有数据库内进行迁移。这些迁移的源类基于Entity API,位于Drupal核心中。在YAML中的源需要从d8_node
更改为content_entity:node
等。
目前这两种方法都只处理实体的当前活动修订版。