[Dbix-class] Using DBIx::Class::Schema::Config with dbicdump

Will Crawford billcrawford1970 at gmail.com
Fri Sep 30 09:52:08 GMT 2011


On 30 September 2011 06:39, Janne Snabb <snabb at epipe.com> 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.



More information about the DBIx-Class mailing list