[Dbix-class] AUTO_INCREMENT missing in generated sql file

isaac-dbix at deeproot.co.in isaac-dbix at deeproot.co.in
Sat Mar 3 07:27:33 GMT 2007



I have been trying to generate sql from the schemas using the following

 print $schema->storage->deployment_statements($schema, 'MySQL');

It does generate the sql. The only problem is that the resulting sql
does not have AUTO_INCREMENT set for the id field(primary key).

The schemas do have the PK::Auto (or  PK::Auto::MySQL) components
loaded and id column is set as a primary key.

Is there something else that I need to do, in order that the resulting
sql contains AUTO_IMCREMENT for the id(with primary key) ?
-- 


Isaac
DeepRoot Linux
--------------------------




More information about the Dbix-class mailing list