[Dbix-class] how to set advanced SQL::Translator arguments properly in schema deploy() method

Hermida, Leandro Leandro.Hermida at fmi.ch
Sun May 24 14:46:10 GMT 2009


Hello,

 

I am having trouble understanding how to set the more advanced SQLT
arguments correctly in the $schema->deploy() method.   In particular,
how does one set the SQL::Translator::Producer mysql_version argument
via $schema->deploy()?  My issue is that no matter what I try it keeps
turning any DBIx::Class column data_type VARCHAR with a size greater
than 255 to a TEXT field and I want to tell it that I have MySQL 5.0.xx
which has much longer varchars. 

 

Thanks for any help,

Leandro

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20090524/842cbefe/attachment.htm


More information about the DBIx-Class mailing list