I’m using symfony 1.4 with doctrine as my ORM, I need to do one of two thing to get it working, and I don’t know how to do it.
-
the id fields should not be bigint, just int or
-
When I define my table as follows:
Table: columns: id: type: integer autoincrement: true primary: true
make the autoincrement work, because if I define my id like so it won’t autoincrement it.
Autoincremented Id keys are automatically added by Doctrine if you do not specify one explicitly.
This should work as expected:
or: