NAME

CPAN::Testers::Backend::Migrate::MetabaseUsers - Migrate old metabase users to new table for metabase lookups

VERSION

version 0.005

SYNOPSIS

beam run <container> <service>

DESCRIPTION

This task migrates the users in the metabase.tester_emails table to the cpanstats.metabase_user table. This makes these users available to the CPAN::Testers::Schema for when new Metabase reports come in.

Only the latest name and e-mail address for a given Metabase resource GUID will be migrated.

ATTRIBUTES

metabase_dbh

The DBI object connected to the metabase database.

schema

The CPAN::Testers::Schema to write users to.

AUTHOR

Doug Bell <preaction@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Doug Bell.

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