Doctrine 2 - ORM

Cookbook: Overriding the ID Generator during a database migration