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%2FHandlesProvideSchema.pm;fp=lib%2FDBIx%2FClass%2FDeploymentHandler%2FHandlesProvideSchema.pm;h=6a0fd25fbb2cc19fdff364c08cbb2f8222557d40;hp=0000000000000000000000000000000000000000;hb=7d876442f151bedf8bcf7d594f30d58f6dad8b59;hpb=eb701ec6f072186383fcd7d6293a89eca85bfd48 diff --git a/lib/DBIx/Class/DeploymentHandler/HandlesProvideSchema.pm b/lib/DBIx/Class/DeploymentHandler/HandlesProvideSchema.pm new file mode 100644 index 0000000..6a0fd25 --- /dev/null +++ b/lib/DBIx/Class/DeploymentHandler/HandlesProvideSchema.pm @@ -0,0 +1,34 @@ +package DBIx::Class::DeploymentHandler::HandlesProvideSchema; +use Moose::Role; + +# ABSTRACT: Interface for providing a $schema to the deployment scripts + +requires 'migration_schema'; + +1; + +# vim: ts=2 sw=2 expandtab + +__END__ + +=method schema_for_run_files + + my $schema = $dh->schema_for_run_files; + +Provides a L object that we can pass to the Perl deploy +scripts. + +=head1 KNOWN IMPLEMENTATIONS + +=over + +=item * + +L + +=item * + +L + +=back +