You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This appears in a deprecation notice in the lastest versions of Symfony and I only found a workaround using a compiler pass #1740 (comment) but I think that should be configured directly in the bundle
The text was updated successfully, but these errors were encountered:
User Deprecated: Relying on non-optimal defaults for ID generation is deprecated, and IDENTITY results in SERIAL, which is not recommended. Instead, configure identifier generation strategies explicitly through configuration. We currently recommend "SEQUENCE" for "Doctrine\DBAL\Platforms\PostgreSqlPlatform", so you should use $configuration->setIdentityGenerationPreferences([ "Doctrine\DBAL\Platforms\PostgreSqlPlatform" => ClassMetadata::GENERATOR_TYPE_SEQUENCE, ]); (ClassMetadataFactory.php:755 called by ClassMetadataFactory.php:629, doctrine/orm#8893, package doctrine/orm)
In the lastest ORM beta version, a new setting is used to configure the default value for the
#[ORM\GeneratedValue]
attribute if has no values https://github.com/doctrine/orm/releases/tag/3.0.0-beta1This appears in a deprecation notice in the lastest versions of Symfony and I only found a workaround using a compiler pass #1740 (comment) but I think that should be configured directly in the bundle
The text was updated successfully, but these errors were encountered: