[Dbix-class] AUTO_INCREMENT missing in generated sql file
isaac-dbix at deeproot.co.in
isaac-dbix at deeproot.co.in
Wed Mar 7 11:00:12 GMT 2007
|Have you set is_auto_increment true on that column?
>
|package Some::Table::Class;
|use base 'DBIx::Class';
|__PACKAGE__->add_column( uid => { is_auto_increment => 1 } );
>
I had missed the "is_auto_increment" part, and was using auto_increment
=> 1 instead!
Thanks,
--
Isaac
DeepRoot Linux
http://deeproot.co.in
--------------------------
More information about the Dbix-class
mailing list