Doctrine 1

New sequence generation for PostgreSQL SQL code results in errors