Reverse engineer database schema from DBIx::Class
Shantanu Bhadoria
shantanu at cpan.org
Thu Jul 5 10:47:04 BST 2012
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.
much thanks!
-Shantanu
More information about the london.pm
mailing list