Commit | Line | Data |
41a539b4 |
1 | package DBIx::Class::DeploymentHandler::HandlesMigrationSchema; |
7d876442 |
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 | |
41a539b4 |
14 | =method migration_schema |
7d876442 |
15 | |
41a539b4 |
16 | my $schema = $dh->migration_schema; |
7d876442 |
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 | |
41a539b4 |
27 | L<DBIx::Class::DeploymentHandler::MigrationSchema::FromCurrent> |
7d876442 |
28 | |
29 | =item * |
30 | |
41a539b4 |
31 | L<DBIx::Class::DeploymentHandler::MigrationSchema::SQL::SchemaLoader> |
7d876442 |
32 | |
33 | =back |
34 | |