On 30 September 2011 06:39, Janne Snabb <[email protected]> wrote:

> I am using dbicdump to create and update my DBIC schema from the
> database schema. It creates a Schema.pm with the following line in it:
>
> use base 'DBIx::Class::Schema';
>
> ...which I have to change to:
>
> use base 'DBIx::Class::Schema::Config';
>
> ...to use this module.
>
> Unfortunately this line happens to be in the "DO NOT MODIFY THE
> FIRST PART OF THIS FILE" section of Schema.pm.

You need the "result_base_class" loader option.

_______________________________________________
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/[email protected]

Reply via email to