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 class is deprecated and will be removed in 4.0.
@@ -138,6 +177,8 @@ Using array access on instances of the following classes is deprecated:
138
177
139
178
# Upgrade to 3.0
140
179
180
+
See the General notes to upgrading to 3.x versions above.
181
+
141
182
## BC BREAK: Calling `ClassMetadata::getAssociationMappedByTargetField()` with the owning side of an association now throws an exception
142
183
143
184
Previously, calling
@@ -163,6 +204,9 @@ so `$targetEntity` is a first argument now. This change affects only non-named a
163
204
When using the `AUTO` strategy to let Doctrine determine the identity generation mechanism for
164
205
an entity, and when using `doctrine/dbal` 4, PostgreSQL now uses `IDENTITY`
165
206
instead of `SEQUENCE` or `SERIAL`.
207
+
208
+
There are three ways to handle this change.
209
+
166
210
* If you want to upgrade your existing tables to identity columns, you will need to follow [migration to identity columns on PostgreSQL](https://www.doctrine-project.org/projects/doctrine-dbal/en/4.0/how-to/postgresql-identity-migration.html)
167
211
* If you want to keep using SQL sequences, you need to configure the ORM this way:
0 commit comments