mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
Merge pull request #3 from webmuch/master
Updated the ORM driver to doctrine/orm
This commit is contained in:
commit
36ef752cf9
1 changed files with 5 additions and 5 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue