NAME

App::Manoc::DataDumper::Converter - Helper for reading datadumps from previous Manoc version

VERSION

version 2.99.2

ATTRIBUTES

log

A Manoc logger instance. Required.

schema

Manoc::DB schema. Required.

from_version

Original version of dump

to_version

Destination version

METHODS

get_table_name( $source_name )

Return the table to load corresponding to DB source $source_name.

upgrade_table( \@data, $name )

Apply any needed transformation to records in @data for table $name.

after_import_source( $source )

To be called after having imported all data for data source $source.

AUTHORS

  • Gabriele Mambrini <gmambro@cpan.org>

  • Enrico Liguori

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Gabriele Mambrini.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.