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=f37a53b880ec62ee588ff0bb0d71e47b06ddc4a8;hb=97aa9a748e07c9e5875d56bd7d6554e481911c5d;hpb=e52174e31b95fe335f6ab8cfdbf23cc2a0c05673 diff --git a/lib/DBIx/Class/DeploymentHandler/VersionHandler/DatabaseToSchemaVersions.pm b/lib/DBIx/Class/DeploymentHandler/VersionHandler/DatabaseToSchemaVersions.pm index f37a53b..28b3b86 100644 --- a/lib/DBIx/Class/DeploymentHandler/VersionHandler/DatabaseToSchemaVersions.pm +++ b/lib/DBIx/Class/DeploymentHandler/VersionHandler/DatabaseToSchemaVersions.pm @@ -1,6 +1,8 @@ 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 +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 } @@ -61,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.