[Dbix-class] New many-to-many warnings
Rippl, Steve
rippls at woodlandschools.org
Fri Dec 7 04:17:28 GMT 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20121206/833=
981c8/attachment.htm
More information about the DBIx-Class
mailing list