From: Arthur Axel 'fREW' Schmidt Date: Sat, 27 Feb 2010 10:16:14 +0000 (-0600) Subject: get rid of that silly create_ddl_dir method X-Git-Tag: v0.001000_01~111 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2bf06b5f0424262e99d49b7c2b7173c3afeb87dc;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git get rid of that silly create_ddl_dir method --- diff --git a/lib/DBIx/Class/DeploymentHandler/SqltDeployMethod.pm b/lib/DBIx/Class/DeploymentHandler/SqltDeployMethod.pm index 8c8bab7..15bade5 100644 --- a/lib/DBIx/Class/DeploymentHandler/SqltDeployMethod.pm +++ b/lib/DBIx/Class/DeploymentHandler/SqltDeployMethod.pm @@ -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; diff --git a/lib/DBIx/Class/DeploymentHandler/WithSqltDeployMethod.pm b/lib/DBIx/Class/DeploymentHandler/WithSqltDeployMethod.pm index 7141b65..4555d1e 100644 --- a/lib/DBIx/Class/DeploymentHandler/WithSqltDeployMethod.pm +++ b/lib/DBIx/Class/DeploymentHandler/WithSqltDeployMethod.pm @@ -21,7 +21,6 @@ has deploy_method => ( deploy prepare_install prepare_update - create_ddl_dir upgrade_single_step }], );