prepare install for prepare_deploy and prepare_version_storage_install
[dbsrgits/DBIx-Class-DeploymentHandler.git] / lib / DBIx / Class / DeploymentHandler / WithStandardVersionStorage.pm
CommitLineData
0905dc0e 1package DBIx::Class::DeploymentHandler::WithStandardVersionStorage;
2use Moose::Role;
3
9deabd1f 4# ABSTRACT: Delegate/Role for DBIx::Class::DeploymentHandler::VersionStorage::Standard
5
0905dc0e 6use DBIx::Class::DeploymentHandler::VersionStorage::Standard;
7
8has version_storage => (
9 does => 'DBIx::Class::DeploymentHandler::HandlesVersionStorage',
10 is => 'ro',
fe3b6dff 11 builder => '_build_version_storage',
0905dc0e 12 handles => 'DBIx::Class::DeploymentHandler::HandlesVersionStorage',
13);
14
15sub _build_version_storage {
16 DBIx::Class::DeploymentHandler::VersionStorage::Standard
17 ->new({ schema => $_[0]->schema });
18}
19
201;
21
e52174e3 22# vim: ts=2 sw=2 expandtab
0905dc0e 23
e52174e3 24__END__