Hi,

I have a Catalyst app using DBIx::Class and just updated to latest versions
and suddenly I'm getting warnings when loading the schema from our Postgres
DB that I hadn't seen before

DBIx::Class is up to date. (0.08204)
DBIx::Class::Schema::Loader is up to date. (0.07033)

***************************************************************************
DBIx::Class::Carp::__ANON__():
***************************************************************************
The many-to-many relationship 'roles' is trying to create a utility method
called roles_rs.
This will completely overwrite one such already existing method on class
Site::Schema::Result::User.

You almost certainly want to rename your method or the many-to-many
relationship, as the functionality of the original method will not be
accessible anymore.

To disable this warning set to a true value the environment variable
DBIC_OVERWRITE_HELPER_METHODS_OK

*********************************************************************

I'm getting a few of these on tables that I haven't altered in the interim,
I'm not creating relationships manually, they're defined in the DB.  Are
these utility methods new?  I'm not seeing them in the schema but I suppose
that's what the warning is telling me?  Is it OK to just
set DBIC_OVERWRITE_HELPER_METHODS_OK to true?

Thanks,
Steve

-- 
Steve Rippl
Technology Director
Woodland Public Schools
360 841 2730
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk

Reply via email to