The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DBIx::Class::DeploymentHandler::Deprecated - (DEPRECATED) Use this if you are stuck in the past

SYNOPSIS

Look at "SYNPOSIS" in DBIx::Class::DeploymentHandler. I won't repeat it here to emphasize, yet again, that this should not be used unless you really want to live in the past.

DEPRECATED

I begrudgingly made this module (and other related modules) to make porting from DBIx::Class::Schema::Versioned relatively simple. I will make changes to ensure that it works with output from DBIx::Class::Schema::Versioned etc, but I will not add any new features to it. It already lacks numerous features that the full version provides in style:

  • Downgrades

  • Multiple files for migrations

  • Perl files in migrations

  • Shared Perl/SQL for different databases

And there's probably more.

At version 1.000000 usage of this module will emit a warning. At version 2.000000 it will be removed entirely.

To migrate to the New Hotness take a look at: "THIS SUCKS" in DBIx::Class::DeploymentHandler::VersionStorage::Deprecated and "THIS SUCKS" in DBIx::Class::DeploymentHandler::DeployMethod::SQL::Translator::Deprecated.

WHERE IS ALL THE DOC?!

DBIx::Class::DeploymentHandler::Deprecated extends DBIx::Class::DeploymentHandler::Dad, so that's probably the first place to look when you are trying to figure out how everything works.

Next would be to look at all the pieces that fill in the blanks that DBIx::Class::DeploymentHandler::Dad expects to be filled. They would be DBIx::Class::DeploymentHandler::DeployMethod::SQL::Translator::Deprecated, DBIx::Class::DeploymentHandler::VersionStorage::Deprecated, and DBIx::Class::DeploymentHandler::WithReasonableDefaults. Also, this class is special in that it applies either DBIx::Class::DeploymentHandler::VersionHandler::ExplicitVersions or DBIx::Class::DeploymentHandler::VersionHandler::DatabaseToSchemaVersions depending on your schema.

AUTHOR

Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2019 by Arthur Axel "fREW" Schmidt.

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