whitespace
[dbsrgits/DBIx-Class-DeploymentHandler.git] / lib / DBIx / Class / DeploymentHandler / Deprecated / WithDeprecatedVersionStorage.pm
CommitLineData
01342998 1package DBIx::Class::DeploymentHandler::Deprecated::WithDeprecatedVersionStorage;
2use Moose::Role;
3
9deabd1f 4# ABSTRACT: (DEPRECATED) Use this if you are stuck in the past
5
01342998 6use DBIx::Class::DeploymentHandler::VersionStorage::Deprecated;
7
8has version_storage => (
9 does => 'DBIx::Class::DeploymentHandler::HandlesVersionStorage',
10 is => 'ro',
fe3b6dff 11 builder => '_build_version_storage',
01342998 12 handles => 'DBIx::Class::DeploymentHandler::HandlesVersionStorage',
13);
14
15sub _build_version_storage {
16 DBIx::Class::DeploymentHandler::VersionStorage::Deprecated
17 ->new({ schema => $_[0]->schema });
18}
19
201;
21
e52174e3 22# vim: ts=2 sw=2 expandtab
01342998 23
e52174e3 24__END__
feca70da 25
e068a12a 26=head1 DEPRECATED
27
28This component has been suplanted by
29L<DBIx::Class::DeploymentHandler::WithStandardVersionStorage>.
30In the next major version (1) we will begin issuing a warning on it's use.
31In the major version after that (2) we will remove it entirely.
32
feca70da 33=head1 DELEGATION ROLE
34
35This role is entirely for making delegation look like a role. The actual
36docs for the methods and attributes are at
37L<DBIx::Class::DeploymentHandler::VersionStorage::Deprecated>