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
Copy file name to clipboardExpand all lines: UPGRADE.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,9 +13,9 @@ so `$targetEntity` is a first argument now. This change affects only non-named a
13
13
14
14
When using the `AUTO` strategy to let Doctrine determine the identity generation mechanism for
15
15
an entity, and when using `doctrine/dbal` 4, PostgreSQL now uses `IDENTITY`
16
-
instead of `SEQUENCE`. When upgrading from ORM 2.x and preference is on keeping
17
-
the `SEQUENCE` based identity generation, then configure the ORM this way:
18
-
16
+
instead of `SEQUENCE` or `SERIAL`.
17
+
* 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)
18
+
* If you want to keep using SQL sequences, you need to configure the ORM this way:
0 commit comments