Currently, migrate_yaml just calls getKeySchema on the specified destination. Certain destinations might require additional parameters to work correctly (e.g., MigrateDestinationTable). We should add support for that, probably like:
destination:
class: MigrateDestinationTable
arguments:
- table_name
key_schema_arguments:
- table_name
Comments
Comment #2
hussainwebAh, it seems migrate already takes care of this.
Comment #3
hussainwebI am confused. This is indeed necessary.
Comment #4
hussainwebWithout passing in the arguments, MigrateDestinationTable::getKeySchema() returns an empty array. This is a problem for mapping table as there will be no destination id's.
This is now fixed in 7ec62a9.