doc doc doc
Arthur Axel 'fREW' Schmidt [Tue, 27 Apr 2010 18:21:11 +0000 (13:21 -0500)]
lib/DBIx/Class/DeploymentHandler.pm
lib/DBIx/Class/DeploymentHandler/Dad.pm

index 0e26850..1fd2038 100644 (file)
@@ -29,8 +29,8 @@ sub install_version_storage {
 }
 
 sub prepare_install {
-       $_[0]->prepare_deploy;
-       $_[0]->prepare_version_storage_install;
+   $_[0]->prepare_deploy;
+   $_[0]->prepare_version_storage_install;
 }
 
 __PACKAGE__->meta->make_immutable;
@@ -52,7 +52,7 @@ __END__
    sqltargs => { add_drop_table => 0 },
  });
 
- $dh->prepare_deploy;
+ $dh->prepare_install;
 
  $dh->install;
 
@@ -134,6 +134,13 @@ L<DBIx::Class::DeploymentHandler::WithReasonableDefaults>.
 Creates the needed C<.sql> file to install the version storage and not the rest
 of the tables
 
+=method prepare_install
+
+ $dh->prepare_install
+
+First prepare all the tables to be installed and the prepare just the version
+storage
+
 =method install_version_storage
 
  $dh->install_version_storage
index f948f21..fe8656b 100644 (file)
@@ -85,6 +85,11 @@ __END__
 The L<DBIx::Class::Schema> (B<required>) that is used to talk to the database
 and generate the DDL.
 
+=attr schema_version
+
+The version that the schema is currently at.  Defaults to
+C<< $self->schema->schema_version >>.
+
 =attr backup_directory
 
 The directory where backups are stored