From f04418f2abde7fed0526e0a55829d1645200d2a7 Mon Sep 17 00:00:00 2001 From: Michal Zuber Date: Fri, 16 Dec 2016 15:55:45 +0100 Subject: [PATCH] Mention schema validation command After creating the mapping it would be helpful to also validate with the existing doctrine:schema:validate command --- doctrine.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doctrine.rst b/doctrine.rst index 30e9ea617ee..a441e431714 100644 --- a/doctrine.rst +++ b/doctrine.rst @@ -427,6 +427,15 @@ see the :ref:`doctrine-field-types` section. class Product // ... +.. tip:: + + After creating your entities you should validate the mappings with the + following command:: + + .. code-block:: terminal + + $ php bin/console doctrine:schema:validate + .. _doctrine-generating-getters-and-setters: Generating Getters and Setters