Files
2025-09-30 09:35:59 +01:00

11 lines
613 B
Plaintext

Instead of using the default "int" type for the entity's "id", you can use the
UUID type from Symfony's Uid component.
<href=https://symfony.com/doc/current/components/uid.html#storing-uuids-in-databases>https://symfony.com/doc/current/components/uid.html#storing-uuids-in-databases</>
<info>php %command.full_name% --with-uuid</info>
Or you can use the ULID type from Symfony's Uid component.
<href=https://symfony.com/doc/current/components/uid.html#storing-ulids-in-databases>https://symfony.com/doc/current/components/uid.html#storing-ulids-in-databases</>
<info>php %command.full_name% --with-ulid</info>