From: Peter Rabbitson Date: Thu, 30 Apr 2015 16:53:25 +0000 (+0200) Subject: This is no longer necessary after 4068e05f X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=87a645c297dbf584a60d70653e83d008e3e97844;p=dbsrgits%2FDBIx-Class.git This is no longer necessary after 4068e05f --- diff --git a/lib/DBIx/Class/Admin.pm b/lib/DBIx/Class/Admin.pm index ffc236e..65c703d 100644 --- a/lib/DBIx/Class/Admin.pm +++ b/lib/DBIx/Class/Admin.pm @@ -343,8 +343,6 @@ sub create { $sqlt_type ||= $self->sql_type(); my $schema = $self->schema(); - # create the dir if does not exist - $self->sql_dir->mkpath() if ( ! -d $self->sql_dir); $schema->create_ddl_dir( $sqlt_type, (defined $schema->schema_version ? $schema->schema_version : ""), $self->sql_dir->stringify, $preversion, $sqlt_args ); }