Class::DBI::DataMigration Getting Your Data From There to Here #47

The Solution: YAML

Configure our custom Mapper in our YAML file:

---
# ... source and target connection, same as before
entities:
  TransGaming::Legacy::DBI::Games:
    target_cdbi_class: TransGaming::DBI::Game
    mapper:
      class: TransGaming::DataMigration::Legacy::Mapper::GamesToGame
    mappings:
    # ... mappings, same as before
Copyright © 2005 Dan Friedman (Powered by Spork)