1 package DBIx::Class::DeploymentHandler::WithStandardVersionStorage;
4 # ABSTRACT: Delegate/Role for DBIx::Class::DeploymentHandler::VersionStorage::Standard
6 use DBIx::Class::DeploymentHandler::VersionStorage::Standard;
8 has version_storage => (
9 does => 'DBIx::Class::DeploymentHandler::HandlesVersionStorage',
11 builder => '_build_version_storage',
12 handles => 'DBIx::Class::DeploymentHandler::HandlesVersionStorage',
15 sub _build_version_storage {
16 DBIx::Class::DeploymentHandler::VersionStorage::Standard
17 ->new({ schema => $_[0]->schema });
22 # vim: ts=2 sw=2 expandtab
26 =head1 DELEGATION ROLE
28 This role is entirely for making delegation look like a role. The actual
29 docs for the methods and attributes are at
30 L<DBIx::Class::DeploymentHandler::VersionStorage::Standard>