From: Arthur Axel 'fREW' Schmidt Date: Sun, 4 Jul 2010 05:23:26 +0000 (-0500) Subject: Fix directory of single-source-serialized-schemas X-Git-Tag: v0.001002~10 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d3d6512cf7768478349c9f2264ba823013831283;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git Fix directory of single-source-serialized-schemas --- diff --git a/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm b/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm index de4f33e..551c855 100644 --- a/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm +++ b/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm @@ -455,7 +455,7 @@ sub _resultsource_protoschema_filename { my ($self, $source_name) = @_; return sub { my ($self, $version) = @_; - my $dirname = catfile( $self->script_directory, '_source', $version ); + my $dirname = catfile( $self->script_directory, '_source', 'deploy', $version ); mkpath($dirname) unless -d $dirname; return catfile( $dirname, "001-auto-$source_name.yml" );