A: 

For the integer data type, check this out: http://www.symfony-project.org/doctrine/1_2/en/04-Schema-Files

For the auto-increment...

  primary: true
  autoincrement: true

... should be all you need.

Tom
+3  A: 

Autoincremented Id keys are automatically added by Doctrine if you do not specify one explicitly.

This should work as expected:

columns:
  nextfield: string

or:

columns:
  id:
    type: integer(2)
    autoincrement: true
    primary: true
  nextfield: string
takeshin