doctrine / migrations

Doctrine Database Migrations Library
https://www.doctrine-project.org/projects/migrations.html
MIT License
4.65k stars 387 forks source link

Add support to the new id entity generation preferences in Doctrine ORM 3.0 #1394

Closed TeLiXj closed 5 months ago

TeLiXj commented 5 months ago

Feature Request

A few months ago, the default AUTO setting in the generated value attribute was deprecated (#[ORM\GeneratedValue]) to force one to be chosen. For now, only PostgreSQL is affected and you can now configure it with a new global setting identityGenerationPreferences. https://github.com/doctrine/orm/releases/tag/3.0.0-beta1

Q A
New Feature yes
RFC no
BC Break no

Summary

Migrations should take into consideration the new ORM 3.0 configuration identityGenerationPreferences if the entity attribute GeneratedValue has no values

TeLiXj commented 5 months ago

Sorry, I put this by error: migrations works fine