d7_to_d10_migration/drupal10/web/sites/default/settings.migrate.php
Mauricio Dinarte ffd85d1466 Alter auto-increment values for taxonomy_term content entity
Avoid entity ID conflicts
2024-12-04 10:13:02 -06:00

35 lines
1.1 KiB
PHP

<?php
// Core settings.
$settings['migrate_source_connection'] = 'migrate';
$settings['migrate_source_version'] = '7';
$settings['migrate_file_public_path'] = 'http://ddev-migration-drupal7-web';
$settings['migrate_file_private_path'] = '';
$settings['migrate_node_migrate_type_classic'] = TRUE;
// Migrate skip fields settings.
$settings['migrate_skip_fields_source_version'] = '7';
$settings['migrate_skip_fields_by_name'] = [
'node:speaker:*', // Changed to user entity.
'node:sponsor:*', // Changed to taxonomy term entity.
'node:swag:*', // Content type no longer needed.
'*:*:field_image', // Changed to media reference field.
];
$settings['migrate_skip_fields_by_type'] = [
'youtube', // Changed to media reference field.
];
// Auto-increment alter settings.
$settings['auto_increment_alter_content_entities'] = [
'file' => [350], // Alter the tables for the file content entity.
'taxonomy_term' => [200], // Alter the tables for the taxonomy term content entity.
'user' => [350], // Alter the tables for the user content entity.
];
$settings['auto_increment_alter_tables'] = [];