[Dbix-class] What DBIx::Class data_type do I use for MySQL varchar(length) columns?

1arryb lb99999999 at aol.com
Fri Aug 1 22:32:35 BST 2008


Dear forum,

I have a MySQL table with a name column. The schema for this column was
recently changed from varchar(31) to varchar(31) binary. It was defined as:

__PACKAGE__->add_columns(
  "name",
  { data_type => "VARCHAR", default_value => "", is_nullable => 0, size =>
31 } );

In our DBIx setup. What, if anything, should I change to support the change
to varchar binary?

Thx
-- 
View this message in context: http://n2.nabble.com/What-DBIx%3A%3AClass-data_type-do-I-use-for-MySQL-varchar%28length%29-columns--tp665108p665108.html
Sent from the DBIx-Class mailing list archive at Nabble.com.




More information about the DBIx-Class mailing list