[Catalyst] Please beta test new DBIx::Class::Schema::Loader (create=static)

Rafael Kitover rkitover at io.com
Fri Jan 15 13:25:22 GMT 2010


Release candidate for DBIx::Class::Schema::Loader 0.05000 is now
available as a dev release:

http://search.cpan.org/~rkitover/DBIx-Class-Schema-Loader-0.04999_14/

The schemas it now generates are incompatible with the output of
0.04006, but there is an automatic backward compatibility mode.

Please try it out to make sure it doesn't break your code.

On running myapp_create.pl you will see the backcompat warnings.

To upgrade (while preserving and rewriting your custom content) set the
'naming' and/or 'use_namespaces' attributes.

THIS WILL BREAK YOUR APP

See:
    perldoc DBIx::Class::Schema::Loader::Manual::UpgradingFromV4

If you do decide to upgrade, make sure you're using the latest version
of Catalyst::Model::DBIC::Schema (0.38).

Examples:

script/myapp_create.pl model DB DBIC::Schema Schema create=static \
  naming=current dbi:Pg:dbname=mydb user pass

If you're still using load_classes (in Schema.pm) run:

script/myapp_create.pl model DB DBIC::Schema Schema create=static \
  use_namespaces=1 naming=current dbi:Pg:dbname=mydb user pass

Please report issues with the backcompat and upgrade code (or any other
loader issues) at:
https://rt.cpan.org/Ticket/Create.html?Queue=DBIx-Class-Schema-Loader

Helper issues go here:
https://rt.cpan.org/Ticket/Create.html?Queue=Catalyst-Model-DBIC-Schema



More information about the Catalyst mailing list