X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class-DeploymentHandler.git;a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FDeploymentHandler%2FVersionHandler%2FDatabaseToSchemaVersions.pm;h=28b3b860e7f9051dc0513bc06d146458dcd3b6a7;hp=1762553e1f9f6cefc2757d3b2febcb7a86ed44b1;hb=97aa9a748e07c9e5875d56bd7d6554e481911c5d;hpb=9deabd1fcf64a04422d1903f8656ac445e73336a diff --git a/lib/DBIx/Class/DeploymentHandler/VersionHandler/DatabaseToSchemaVersions.pm b/lib/DBIx/Class/DeploymentHandler/VersionHandler/DatabaseToSchemaVersions.pm index 1762553..28b3b86 100644 --- a/lib/DBIx/Class/DeploymentHandler/VersionHandler/DatabaseToSchemaVersions.pm +++ b/lib/DBIx/Class/DeploymentHandler/VersionHandler/DatabaseToSchemaVersions.pm @@ -1,10 +1,9 @@ package DBIx::Class::DeploymentHandler::VersionHandler::DatabaseToSchemaVersions; + use Moose; # ABSTRACT: Go straight from Database to Schema version -use Method::Signatures::Simple; - with 'DBIx::Class::DeploymentHandler::HandlesVersioning'; has schema_version => ( @@ -21,8 +20,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 } @@ -64,4 +63,8 @@ __PACKAGE__->meta->make_immutable; __END__ +=head1 SEE ALSO +This class is an implementation of +L. Pretty much all the +documentation is there.