When I try to customise the Block entity, using the http://docs.sylius.org/en/latest/customization/model.html guide, I get an exception when trying to updated the database schema
[Doctrine\DBAL\Schema\SchemaException]
The table with name 'persiennbutiken_ng.bitbag_cms_block' already exists.
My config looks the following:
sylius_resource:
resources:
bitbag.block:
classes:
model: AppBundle\Entity\CmsPlugin\Block
And my entity:
/**
* @ORM\Table(name="bitbag_cms_block")
* @ORM\Entity(repositoryClass="BitBag\CmsPlugin\Repository\BlockRepository")
*/
class Block extends BaseBlock implements BlockInterface
When I try to customise the Block entity, using the http://docs.sylius.org/en/latest/customization/model.html guide, I get an exception when trying to updated the database schema
My config looks the following:
And my entity: