[Bast-commits] r8172 - in
branches/DBIx-Class-Schema-Loader/back-compat/lib/DBIx/Class/Schema/Loader:
. Manual
caelum at dev.catalyst.perl.org
caelum at dev.catalyst.perl.org
Thu Dec 24 15:13:03 GMT 2009
Author: caelum
Date: 2009-12-24 15:13:03 +0000 (Thu, 24 Dec 2009)
New Revision: 8172
Modified:
branches/DBIx-Class-Schema-Loader/back-compat/lib/DBIx/Class/Schema/Loader/Base.pm
branches/DBIx-Class-Schema-Loader/back-compat/lib/DBIx/Class/Schema/Loader/Manual/UpgradingFromV4.pod
Log:
pod fixes for UpgradingFromV4
Modified: branches/DBIx-Class-Schema-Loader/back-compat/lib/DBIx/Class/Schema/Loader/Base.pm
===================================================================
--- branches/DBIx-Class-Schema-Loader/back-compat/lib/DBIx/Class/Schema/Loader/Base.pm 2009-12-24 12:54:19 UTC (rev 8171)
+++ branches/DBIx-Class-Schema-Loader/back-compat/lib/DBIx/Class/Schema/Loader/Base.pm 2009-12-24 15:13:03 UTC (rev 8172)
@@ -50,7 +50,7 @@
monikers
dynamic
naming
- _upgrading
+ _upgrading_from
/);
__PACKAGE__->mk_accessors(qw/
Modified: branches/DBIx-Class-Schema-Loader/back-compat/lib/DBIx/Class/Schema/Loader/Manual/UpgradingFromV4.pod
===================================================================
--- branches/DBIx-Class-Schema-Loader/back-compat/lib/DBIx/Class/Schema/Loader/Manual/UpgradingFromV4.pod 2009-12-24 12:54:19 UTC (rev 8171)
+++ branches/DBIx-Class-Schema-Loader/back-compat/lib/DBIx/Class/Schema/Loader/Manual/UpgradingFromV4.pod 2009-12-24 15:13:03 UTC (rev 8172)
@@ -26,7 +26,7 @@
It will also more correctly infer the relationship type, e.g. some relationships
that were previously detected as a C<has_many> will now be a C<might_have>
-(when the foreign key refers to a unique index.)
+(when it detects a unique constraint on the foreign key column.)
=item *
@@ -55,14 +55,14 @@
=head2 Static Schemas
When reading a C<Schema.pm> from a static schema generated with an C<0.04>
-version of Loader, backward compatibility mode willl be turned on, unless
-overridden with the naming accessor.
+version of Loader, backward compatibility mode will default to on, unless
+overridden with the C<naming> attribute.
=head2 Dynamic Schemas
Dynamic schemas will always by default use C<0.04006> mode.
-To upgrade a dynamic schema, set the naming accessor (which is proxied to the
+To upgrade a dynamic schema, set the naming attribute (which is proxied to the
loader) in your C<Schema.pm>:
__PACKAGE__->naming('current');
More information about the Bast-commits
mailing list