Dagfinn Ilmari Mannsåker > DBIx-Class-Schema-Loader-0.07037 > DBIx::Class::Schema::Loader::Manual::UpgradingFromV4

Download:
DBIx-Class-Schema-Loader-0.07037.tar.gz

Annotate this POD

CPAN RT

New  4
Open  7
View/Report Bugs
Source   Latest Release: DBIx-Class-Schema-Loader-0.07040

NAME ^

DBIx::Class::Schema::Loader::Manual::UpgradingFromV4 - Important Information Related to Upgrading from Version 0.04006

What Changed ^

Backward Compatibility ^

In backward compatibility mode, the Loader will use the old relationship names and types, will not singularize monikers for tables, and use_namespaces will be off.

To control this behavior see "naming" in DBIx::Class::Schema::Loader::Base and "use_namespaces" in DBIx::Class::Schema::Loader::Base.

Static Schemas

When reading a Schema.pm from a static schema generated with an 0.04 version of Loader, backward compatibility mode will default to on, unless overridden with the naming and/or use_namespaces attributes.

Dynamic Schemas

Dynamic schemas will always by default use 0.04006 mode and have use_namespaces off.

To upgrade a dynamic schema, set the naming and use_namespaces attributes (which is proxied to the loader) in your Schema.pm:

    __PACKAGE__->naming('current');
    __PACKAGE__->use_namespaces(1);

AUTHOR ^

See "AUTHOR" in DBIx::Class::Schema::Loader and "CONTRIBUTORS" in DBIx::Class::Schema::Loader.

LICENSE ^

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: