1 package DBIx::Class::DeploymentHandler::WithDatabaseToSchemaVersions;
4 use DBIx::Class::DeploymentHandler::DatabaseToSchemaVersions;
8 has version_handler => (
10 # < mst> isa => 'DBIx::Class::DeploymentHandler::SqltDeployMethod',
12 # < mst> does => <some role>
13 # < mst> and that role should supply those methods
14 # < mst> then you can pass handles => <some role> as well
16 isa => 'DBIx::Class::DeploymentHandler::DatabaseToSchemaVersions',
19 handles => [qw{ ordered_schema_versions }],
22 sub _build_version_handler {
24 DBIx::Class::DeploymentHandler::DatabaseToSchemaVersions->new({
25 schema => $self->schema,
33 vim: ts=2 sw=2 expandtab