good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^6: Using DBIx::Class::Schema::Loader to determine constraintsby jds17 (Pilgrim) |
on Nov 01, 2012 at 21:04 UTC ( [id://1001871]=note: print w/replies, xml ) | Need Help?? |
I have just tried out what you wrote in your last post and I like the idea of doing it this way. To be more specific what I tried out was:
The Pg support indeed is not complete, I had tested with a table having a two-column primary key and the parse() method of SQL::Translator::Parser::DBI::PostgreSQL failed (currently it only works on one-column pkeys). I have posted a bug report and a proposal for a patch on rt.cpan.org (see here). The bug was easy to fix. So one possibility would be to continue with my database-wise handling and the other to help out finding and maybe help fixing remaining bugs in the SQL::Translator::Parser::DBI::XXXXX modules.
In Section
Seekers of Perl Wisdom
|
|