[PR #1406] add default value for GeneratedValue #9464

Closed
opened 2026-01-22 16:04:24 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/1406

State: closed
Merged: Yes


The "strategy" attribute on the GeneratedValue annotation is actually not required but optional. It works fine when the attribute is not specified.

The default value for this attribute is AUTO.

**Original Pull Request:** https://github.com/doctrine/orm/pull/1406 **State:** closed **Merged:** Yes --- The "strategy" attribute on the GeneratedValue annotation is actually not required but optional. It works fine when the attribute is not specified. The default value for this attribute is AUTO.
admin added the pull-request label 2026-01-22 16:04:24 +01:00
admin closed this issue 2026-01-22 16:04:24 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#9464