get rid of that silly create_ddl_dir method
Arthur Axel 'fREW' Schmidt [Sat, 27 Feb 2010 10:16:14 +0000 (04:16 -0600)]
lib/DBIx/Class/DeploymentHandler/SqltDeployMethod.pm
lib/DBIx/Class/DeploymentHandler/WithSqltDeployMethod.pm

index 8c8bab7..15bade5 100644 (file)
@@ -317,11 +317,6 @@ method prepare_update($version, $preversion) {
   }
 }
 
-method create_ddl_dir($version, $preversion) {
-  $self->prepare_install;
-  $self->prepare_update($version, $preversion) if $preversion;
-}
-
 method _read_sql_file($file) {
   return unless $file;
 
index 7141b65..4555d1e 100644 (file)
@@ -21,7 +21,6 @@ has deploy_method => (
     deploy
    prepare_install
    prepare_update
-   create_ddl_dir
    upgrade_single_step
   }],
 );