[Bast-commits] r6803 - DBIx-Class/0.08/trunk/lib/DBIx/Class

ribasushi at dev.catalyst.perl.org ribasushi at dev.catalyst.perl.org
Sat Jun 27 10:52:26 GMT 2009


Author: ribasushi
Date: 2009-06-27 10:52:26 +0000 (Sat, 27 Jun 2009)
New Revision: 6803

Modified:
   DBIx-Class/0.08/trunk/lib/DBIx/Class/Schema.pm
Log:
POD patch from RT#46808

Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Schema.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Schema.pm	2009-06-27 10:39:03 UTC (rev 6802)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Schema.pm	2009-06-27 10:52:26 UTC (rev 6803)
@@ -1125,6 +1125,19 @@
 You may override this method in your schema if you wish to use a different
 format.
 
+ WARNING
+
+ Prior to DBIx::Class version 0.08100 this method had a different signature:
+
+    my $filename = $table->ddl_filename($type, $dir, $version, $preversion)
+
+ In recent versions variables $dir and $version were reversed in order to
+ bring the signature in line with other Schema/Storage methods. If you 
+ really need to maintain backward compatibility, you can do the following
+ in any overriding methods:
+
+    ($dir, $version) = ($version, $dir) if ($DBIx::Class::VERSION < 0.08100);
+
 =cut
 
 sub ddl_filename {




More information about the Bast-commits mailing list