[Dbix-class] Undetermined deployment statements

Peter Rabbitson rabbit+dbic at rabbit.us
Tue Apr 9 10:31:57 GMT 2013


On Tue, Apr 09, 2013 at 02:19:02PM +0400, Konstantin A. Pustovalov wrote:
> I have noticed strange behavior of $schema->deploy (actually my
> tests started to fail after DBIC upgrade).

You are on a roll today eh? :)

Try this please:

diff --git a/lib/DBIx/Class/Storage/DBI.pm b/lib/DBIx/Class/Storage/DBI.pm
index 9a136fe..a6c96bf 100644
--- a/lib/DBIx/Class/Storage/DBI.pm
+++ b/lib/DBIx/Class/Storage/DBI.pm
@@ -87,6 +87,8 @@ sub _determine_supports_join_optimizer { 1 };
 # _determine_supports_X which obv. needs a correct driver as well
 my @rdbms_specific_methods = qw/
   sqlt_type
+  deployment_statements
+
   sql_maker
   build_datetime_parser
   datetime_parser_type




More information about the DBIx-Class mailing list