Changed ORM driver to doctrine/orm

This commit is contained in:
webmuch 2012-09-13 13:52:40 +05:30
parent 8905f7949f
commit 6433d2922f

View file

@ -147,19 +147,19 @@ Open up your `config.yml` file and add this...
.. code-block:: yaml .. code-block:: yaml
sylius_assortment: sylius_assortment:
driver: ORM driver: doctrine/orm
classes: classes:
model: model:
product: Application\Bundle\AssortmentBundle\Entity\Product product: Application\Bundle\AssortmentBundle\Entity\Product
Please note, that the "**ORM**" is currently the only supported driver. Please note, that the "**doctrine/orm**" is currently the only supported driver.
Updating database schema Updating database schema
~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~
The last thing you need to do is updating the database schema. The last thing you need to do is updating the database schema.
For "**ORM**" driver run the following command. For "**doctrine/orm**" driver run the following command.
.. code-block:: bash .. code-block:: bash
@ -209,7 +209,7 @@ Then put the class name in configuration.
.. code-block:: yaml .. code-block:: yaml
sylius_assortment: sylius_assortment:
driver: ORM driver: doctrine/orm
classes: classes:
model: model:
product: # your product class. product: # your product class.
@ -246,7 +246,7 @@ This is full bundle configuration.
.. code-block:: yaml .. code-block:: yaml
sylius_assortment: sylius_assortment:
driver: ORM driver: doctrine/orm
engine: twig # templating engine name. engine: twig # templating engine name.
classes: classes:
model: model: