when running perl scripts in deploy, use a $schema that is generated from the current...
[dbsrgits/DBIx-Class-DeploymentHandler.git] / lib / DBIx / Class / DeploymentHandler / HandlesMigrationSchema.pm
1 package DBIx::Class::DeploymentHandler::HandlesMigrationSchema;
2 use Moose::Role;
3
4 # ABSTRACT: Interface for providing a $schema to the deployment scripts
5
6 requires 'migration_schema';
7
8 1;
9
10 # vim: ts=2 sw=2 expandtab
11
12 __END__
13
14 =method migration_schema
15
16   my $schema = $dh->migration_schema;
17
18 Provides a L<DBIx::Class::Schema> object that we can pass to the Perl deploy
19 scripts.
20
21 =head1 KNOWN IMPLEMENTATIONS
22
23 =over
24
25 =item *
26
27 L<DBIx::Class::DeploymentHandler::MigrationSchema::FromCurrent>
28
29 =item *
30
31 L<DBIx::Class::DeploymentHandler::MigrationSchema::SQL::SchemaLoader>
32
33 =back
34