simplify most of the code significantly thanks to version handling code
[dbsrgits/DBIx-Class-DeploymentHandler.git] / lib / DBIx / Class / DeploymentHandler / WithDatabaseToSchemaVersions.pm
index fc80e2e..9fcf439 100644 (file)
@@ -6,17 +6,10 @@ use DBIx::Class::DeploymentHandler::DatabaseToSchemaVersions;
 use Carp 'carp';
 
 has version_handler => (
-
-# < mst> isa => 'DBIx::Class::DeploymentHandler::SqltDeployMethod',
-# < mst> should be
-# < mst> does => <some role>
-# < mst> and that role should supply those methods
-# < mst> then you can pass handles => <some role> as well
-
-  does => 'DBIx::Class::DeploymentHandler::HandlesVersioning',
-  is  => 'ro',
+  is         => 'ro',
   lazy_build => 1,
-  handles => 'DBIx::Class::DeploymentHandler::HandlesVersioning',
+  does       => 'DBIx::Class::DeploymentHandler::HandlesVersioning',
+  handles    => 'DBIx::Class::DeploymentHandler::HandlesVersioning',
 );
 
 sub _build_version_handler {