[Dbix-class] SQL::Translator::Parser::DBIx::Class unique symbol change

Peter Rabbitson rabbit+list at rabbit.us
Fri May 16 11:34:54 BST 2008


luke saunders wrote:
> 
> The other thing that gets me about this patch is that the max symbol
> length isn't something that's specific to the DBIC parser but more the
> target database, so should reside in the producers. That way the
> producers can set the max lengths to whatever they require, if
> anything.
> 

Furthermore, at least one producer (SQLite) defines a shorter max_symbol 
length of 30(?), leading to key clashes - they are visible in the current dbic 
test suite in a TODO at t/81transactions (when executed with 
DBICTEST_SQLT_DEPLOY=1). I did some early work on this 4 days ago, 
contemplating about moving the code into SQLT, making it a pluggable utility 
sub, but got distracted by other stuff.

If nothing better comes out of this thread until the end of next week, I will 
have some time to clean up my patches to both DBIC and SQLT and will be able 
to present them here.



More information about the DBIx-Class mailing list