From: Rafael Kitover Date: Tue, 1 Jun 2010 17:48:24 +0000 (+0000) Subject: pass sqlite and pg version properly on ->deploy for SQLT trunk X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9e34d55419481925691c7177d43ba48ec02b02eb;p=dbsrgits%2FDBIx-Class-Historic.git pass sqlite and pg version properly on ->deploy for SQLT trunk --- diff --git a/lib/DBIx/Class/Optional/Dependencies.pm b/lib/DBIx/Class/Optional/Dependencies.pm index 7dce810..12e3053 100644 --- a/lib/DBIx/Class/Optional/Dependencies.pm +++ b/lib/DBIx/Class/Optional/Dependencies.pm @@ -65,7 +65,7 @@ my $reqs = { deploy => { req => { - 'SQL::Translator' => '0.11005', + 'SQL::Translator' => '0.11006', }, pod => { title => 'Storage::DBI::deploy()', diff --git a/lib/DBIx/Class/Storage/DBI/Pg.pm b/lib/DBIx/Class/Storage/DBI/Pg.pm index 8dca063..d1e8e1e 100644 --- a/lib/DBIx/Class/Storage/DBI/Pg.pm +++ b/lib/DBIx/Class/Storage/DBI/Pg.pm @@ -205,7 +205,7 @@ sub deployment_statements { $sqltargs ||= {}; - if (my $version = $self->_server_info->{normalized_dbms_version}) { + if (my $version = $self->_server_info->{dbms_version}) { $sqltargs->{producer_args}{postgres_version} = $version; } diff --git a/lib/DBIx/Class/Storage/DBI/SQLite.pm b/lib/DBIx/Class/Storage/DBI/SQLite.pm index b30d2ef..4a95dbf 100644 --- a/lib/DBIx/Class/Storage/DBI/SQLite.pm +++ b/lib/DBIx/Class/Storage/DBI/SQLite.pm @@ -50,7 +50,7 @@ sub deployment_statements { $sqltargs ||= {}; - if (my $version = $self->_server_info->{normalized_dbms_version}) { + if (my $version = $self->_server_info->{dbms_version}) { $sqltargs->{producer_args}{sqlite_version} = $version; }