From adeb064d934eecee3bda5b1965a34447b98a231f Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Wed, 20 May 2020 16:30:51 +0200 Subject: [PATCH 1/2] Mention that this bundle is only for ORM --- Resources/doc/index.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Resources/doc/index.rst b/Resources/doc/index.rst index 180b3f37..1810d2eb 100644 --- a/Resources/doc/index.rst +++ b/Resources/doc/index.rst @@ -3,8 +3,11 @@ DoctrineFixturesBundle Fixtures are used to load a "fake" set of data into a database that can then be used for testing or to help give you some interesting data while you're -developing your application. This bundle makes creating fixtures *easy*, and -supports the `ORM`_ (MySQL, PostgreSQL, SQLite, etc.). +developing your application. + +This bundle is compatible with any database supported by `Doctrine ORM`_ +(MySQL, PostgreSQL, SQLite, etc.). If your database is MongoDB, you must use +instead the `DoctrineMongoDBBundle`_. Installation ------------ @@ -382,3 +385,6 @@ With the ``--purger`` option we can now specify to use ``my_purger`` instead of .. code-block:: terminal $ php bin/console doctrine:fixtures:load --purger=my_purger + +.. _`Doctrine ORM`: https://symfony.com/doc/current/doctrine.html +.. _`DoctrineMongoDBBundle`: https://github.com/doctrine/DoctrineMongoDBBundle From 9010e75d48c8d400ff9f8e578491706e4809992f Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Wed, 20 May 2020 16:56:45 +0200 Subject: [PATCH 2/2] Update Resources/doc/index.rst Co-authored-by: Andreas Braun --- Resources/doc/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/doc/index.rst b/Resources/doc/index.rst index 1810d2eb..e650b99a 100644 --- a/Resources/doc/index.rst +++ b/Resources/doc/index.rst @@ -6,8 +6,8 @@ be used for testing or to help give you some interesting data while you're developing your application. This bundle is compatible with any database supported by `Doctrine ORM`_ -(MySQL, PostgreSQL, SQLite, etc.). If your database is MongoDB, you must use -instead the `DoctrineMongoDBBundle`_. +(MySQL, PostgreSQL, SQLite, etc.). If you are using MongoDB, you must use +`DoctrineMongoDBBundle`_ instead. Installation ------------