Phase 2: switch default ID type to UUIDv7
Some checks failed
CI / Quality (push) Has been cancelled

Makes the time-ordered, distributed-friendly UUIDv7 (via symfony/uid)
the framework's default. Auto-increment integers remain available via
an explicit --int-id flag on the maker.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-02 02:21:01 +02:00
parent e0dc209896
commit 10d10d675d

View File

@@ -665,7 +665,7 @@ Phase 2 turns the framework from "transports work" into "you can ship a reactive
| --- | --- |
| ORM | Doctrine ORM 3.x + DoctrineBundle + DoctrineMigrationsBundle |
| Dev DB | SQLite at `var/data.sqlite` (zero-config) |
| Default ID type | auto-incrementing `int` (the maker takes a flag for UUIDv7 if asked) |
| Default ID type | UUIDv7 via `symfony/uid` (the maker takes `--int-id` for an auto-increment integer if asked) |
| Pagination | cursor-based (opaque base64-JSON of `{lastId, lastSortKey}`), default page size 50 |
| Doctrine→Mercure trigger | `postPersist` / `postUpdate` / `postRemove` event subscribers (synchronous) |