Reverse engineer database schema from DBIx::Class

Zbigniew Łukasiak zzbbyy at
Thu Jul 5 10:58:51 BST 2012

On Thu, Jul 5, 2012 at 11:47 AM, Shantanu Bhadoria <shantanu at> wrote:
> Hey guys,
> I have been recently working a nacent project. I spent two days creating a
> db structure for the project with all foreign keys and such and created a
> DB from it, then I generated schema result classes from the database using
> DBIx::Class. Then in a stupid move I deleted my db by accident and I am now
> left with only the schema classes.I didnt really have any data in the db
> but is there a way to create a DB schema sql back from DBIx::Class Result
> classes? I fear I know the answer but I thought I might as well ask in case
> someone had made the same mistake before me.

Have a look at:

Zbigniew Lukasiak

More information about the mailing list