25 Sep 2019 17:33:53 UTC
- Distribution: DBIx-Class-DeploymentHandler
- Module version: 0.002233
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Issues (7)
- Testers (13 / 0 / 2)
- KwaliteeBus factor: 3
- 81.95% Coverage
- License: perl_5
- Activity24 month
- Download (77.07KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:4 non-PAUSE usersMMCCLIMON Michael McClimonand 1 contributors
- Arthur Axel "fREW" Schmidt
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Deprecated.The maintainer of this module has indicated that the module is deprecated and no longer suitable for use.
DBIx::Class::DeploymentHandler::Deprecated - (DEPRECATED) Use this if you are stuck in the past
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.
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:
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.
DBIx::Class::DeploymentHandler::Deprecatedextends 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.
Arthur Axel "fREW" Schmidt <email@example.com>
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.
Module Install Instructions
To install DBIx::Class::DeploymentHandler, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install DBIx::Class::DeploymentHandler
For more information on module installation, please visit the detailed CPAN module installation guide.