X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FManual%2FUpgradingFromV4.pod;h=4db5e74e6a436e205c6e4a5967b0e9b4bad653a1;hb=05e09a8e72aa97efa1b56a0c28e52365bc99d0aa;hp=c5869aa0a5df30819c139fb8d3efc6343e635946;hpb=9cc8e7e177103e568c99f968ff848d25e6c3bea8;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/lib/DBIx/Class/Schema/Loader/Manual/UpgradingFromV4.pod b/lib/DBIx/Class/Schema/Loader/Manual/UpgradingFromV4.pod index c5869aa..4db5e74 100644 --- a/lib/DBIx/Class/Schema/Loader/Manual/UpgradingFromV4.pod +++ b/lib/DBIx/Class/Schema/Loader/Manual/UpgradingFromV4.pod @@ -20,13 +20,13 @@ C 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 will now be a C -(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. =head2 Static Schemas When reading a C 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 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: __PACKAGE__->naming('current');