четверг, 28 сентября 2017 г.

Sylius - The table with name 'sylius_order' already exists

1) be sure you have added your class' model parameter to config.yml, as described in Sylius documentation;

2) be sure you do not use old parent class somewhere else in config.yml - for example, this will cause error below. Do not forget to change it as new class:
sylius_resource:
    resources:
        sylius.accountant:
            classes:
                model: AppBundle\Entity\Order
        sylius.worker:
            classes:
                model: AppBundle\Entity\Order


Комментариев нет:

Отправить комментарий