=pod =head1 NAME DBIx::Class::Schema::Loader::Manual::UpgradingFromV4 - Important Information Related to Upgrading from Version 0.04006 =head1 What Changed =over 4 =item * add_column The new Loader detects much more information about columns and sets flags like C that it didn't set before. =item * RelBuilder 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 it detects a unique constraint on the foreign key column.) =item * moniker_map Table names are now singularized when determining the C class names. So the table C would have become C in C<0.04006> but now becomes C instead. =item * use_namespaces Now defaults to on. See L and L. =item * Support for more databases We now support Microsoft SQL Server and Sybase, and there are also many improvements to the other backends. =back =head1 Backward Compatibility In backward compatibility mode, the Loader will use the old relationship names and types, will not singularize monikers for tables, and C will be off. To control this behavior see L and L. =head2 Static Schemas When reading a C from a static schema generated with an C<0.04> version of Loader, backward compatibility mode will default to on, unless overridden with the C and/or C attributes. =head2 Dynamic Schemas Dynamic schemas will always by default use C<0.04006> mode and have C off. To upgrade a dynamic schema, set the C and C attributes (which is proxied to the loader) in your C: __PACKAGE__->naming('current'); __PACKAGE__->use_namespaces(1); =head1 AUTHOR See L and L. =head1 LICENSE This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =cut