add first cookbook entry (needs some love at some point)
[dbsrgits/DBIx-Class-DeploymentHandler.git] / lib / DBIx / Class / DeploymentHandler / HandlesDeploy.pm
index 4d4d818..089eda1 100644 (file)
@@ -3,6 +3,8 @@ use Moose::Role;
 
 # ABSTRACT: Interface for deploy methods
 
+requires 'preinstall';
+
 requires 'prepare_deploy';
 requires 'deploy';
 
@@ -21,6 +23,12 @@ requires 'downgrade_single_step';
 
 __END__
 
+=method preinstall
+
+ $dh->preinstall
+
+Run scripts before deploying to the database
+
 =method prepare_deploy
 
  $dh->prepare_deploy