remove remaining refereces to Method::Signatures::Simple
[dbsrgits/DBIx-Class-DeploymentHandler.git] / lib / DBIx / Class / DeploymentHandler / VersionHandler / DatabaseToSchemaVersions.pm
index f37a53b..fd0f798 100644 (file)
@@ -1,6 +1,7 @@
 package DBIx::Class::DeploymentHandler::VersionHandler::DatabaseToSchemaVersions;
 use Moose;
-use Method::Signatures::Simple;
+
+# ABSTRACT: Go straight from Database to Schema version
 
 with 'DBIx::Class::DeploymentHandler::HandlesVersioning';
 
@@ -18,8 +19,8 @@ has database_version => (
 
 has to_version => ( # configuration
   is         => 'ro',
-  lazy_build => 1, # builder comes from another role...
-                   # which is... probably not how we want it
+  isa        => 'Str',
+  lazy_build => 1,
 );
 
 sub _build_to_version { $_[0]->schema_version }