[Dbix-class] Regenerating schema following DBIC::Schema::Loader dump_to_dir?

Chris Cole chris at compbio.dundee.ac.uk
Fri May 22 11:12:02 GMT 2009

Hi all,

I've generated a DB schema for a MySQL at DB/Schema using the following

perl -MDBIx::Class::Schema::Loader=dump_to_dir:DB/ -MDB::Schema -e1

At the bottom of the Classes it has this text "# You can replace this
text with custom content, and it will be preserved on regeneration",
which I have done to add some methods for manipulating the data.

Now that I need to update changes to the schema in the classes, how do I
go about it? I have been able to create a new 'dump' at a new location,
but all attempts to update the current 'dump' have been thwarted.
Any pointers appreciated.

More information about the DBIx-Class mailing list