fix old class replace regex, new TODO
[dbsrgits/DBIx-Class-Schema-Loader.git] / lib / DBIx / Class / Schema / Loader / Manual / UpgradingFromV4.pod
index c5869aa..4db5e74 100644 (file)
@@ -20,13 +20,13 @@ C<is_auto_increment> that it didn't set before.
 
 RelBuilder
 
-The new RelBuilder will give you much nicer accessor names for relationships,
-so you will no longer have conflicts between a foreign key column and the
-relationship accessor itself.
+The new RelBuilder will give you nicer accessor names for relationships, so you
+will no longer have conflicts between a foreign key column and the relationship
+accessor itself (if the FK is named C<_id>.)
 
 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 @@ To control this behavior see L<DBIx::Class::Schema::Loader::Base/naming>.
 =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');