X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FAdmin.pm;h=f3be3c9babbecff6643be2361991d1663cb0a287;hb=47442cea7c22e54caa51066b90c489e58b9bd71d;hp=318dd87e7802094e4f98fd744755ac10609f6152;hpb=2bf51de058416a26d50e595603f0d266f5b481dc;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Admin.pm b/lib/DBIx/Class/Admin.pm index 318dd87..f3be3c9 100644 --- a/lib/DBIx/Class/Admin.pm +++ b/lib/DBIx/Class/Admin.pm @@ -40,6 +40,16 @@ DBIx::Class::Admin - Administration object for schemas =head1 SYNOPSIS + $ dbicadmin --help + + $ dbicadmin --schema=MyApp::Schema \ + --connect='["dbi:SQLite:my.db", "", ""]' \ + --deploy + + $ dbicadmin --schema=MyApp::Schema --class=Employee \ + --connect='["dbi:SQLite:my.db", "", ""]' \ + --op=update --set='{"name":"New_Employee"}' + use DBIx::Class::Admin; # ddl manipulation @@ -61,6 +71,30 @@ DBIx::Class::Admin - Administration object for schemas # install a version for an unversioned schema $admin->install("3.0"); +=head1 REQUIREMENTS + +The following CPAN modules are required to use C and this module: + +L + +L + +L + +L + +L + +L + +L + +L + +L + +L + =head1 Attributes =head2 schema_class @@ -554,7 +588,7 @@ sub _find_stanza { return $cfg; } -=head1 AUTHORS +=head1 AUTHOR See L.