Commit | Line | Data |
7d876442 |
1 | package DBIx::Class::DeploymentHandler::HandlesProvideSchema; |
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 schema_for_run_files |
15 | |
16 | my $schema = $dh->schema_for_run_files; |
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::ProvideSchema::FromCurrent> |
28 | |
29 | =item * |
30 | |
31 | L<DBIx::Class::DeploymentHandler::ProvideSchema::SQL::SchemaLoader> |
32 | |
33 | =back |
34 | |