X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FDeploymentHandler.pm;h=1a21ff22a8ec4f3a88455acdd5343ef0ee7c623e;hb=d1ae780e6916bf6637bd6ecc2b349c22487df239;hp=3f6a154f3778f106a0a5249dd280f3c1a1cc0962;hpb=5228a963e60b0c085a6ce930f9ba9dc66215676c;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git diff --git a/lib/DBIx/Class/DeploymentHandler.pm b/lib/DBIx/Class/DeploymentHandler.pm index 3f6a154..1a21ff2 100644 --- a/lib/DBIx/Class/DeploymentHandler.pm +++ b/lib/DBIx/Class/DeploymentHandler.pm @@ -1,5 +1,7 @@ package DBIx::Class::DeploymentHandler; +# ABSTRACT: Extensible DBIx::Class deployment + use Moose; extends 'DBIx::Class::DeploymentHandler::Dad'; @@ -30,9 +32,11 @@ __PACKAGE__->meta->make_immutable; 1; +#vim: ts=2 sw=2 expandtab + __END__ -=SYNOPSIS +=head1 SYNOPSIS use aliased 'DBIx::Class::DeploymentHandler' => 'DH'; my $s = My::Schema->connect(...); @@ -131,6 +135,17 @@ of the tables Install the version storage and not the rest of the tables -__END__ +=head1 THIS SUCKS + +You started your project and weren't using DBICDH? FOOL! Lucky for you I had +you in mind when I wrote this doc <3 + +First off, you'll want to just install the version_storage: + + my $s = My::Schema->connect(...); + my $dh = DeployHandler({ schema => $s }); + + $dh->prepare_version_storage_install; + $dh->install_version_storage; -vim: ts=2 sw=2 expandtab +Then, bump your schema version, and you can use DBICDH like normal!