Skip to content

Commit

Permalink
minor symfony#18035 Update reverse_engineering.rst (linuxprocess)
Browse files Browse the repository at this point in the history
This PR was submitted for the 6.2 branch but it was merged into the 5.4 branch instead.

Discussion
----------

Update reverse_engineering.rst

Precision for making it clear that "make:entity" does not permit to reverse-engineer a database to an entity

Commits
-------

2d2cda4 Update reverse_engineering.rst
  • Loading branch information
javiereguiluz committed Mar 13, 2023
2 parents cb0b5ba + 2d2cda4 commit 3ed7123
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doctrine/reverse_engineering.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ How to Generate Entities from an Existing Database
The ``doctrine:mapping:import`` command used to generate Doctrine entities
from existing databases was deprecated by Doctrine in 2019 and it's no
longer recommended to use it.

As of march,2023 there is no replacement.

Instead, you can use the ``make:entity`` command from `Symfony Maker Bundle`_
to quickly generate the Doctrine entities of your application.
But it does not permit generating entities from existing database.

.. _`Symfony Maker Bundle`: https://symfony.com/bundles/SymfonyMakerBundle/current/index.html

0 comments on commit 3ed7123

Please sign in to comment.