<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use Dtc\QueueBundle\Entity\Job as BaseJob;
/**
* @ORM\Entity
* @ORM\Table(name="dtc_queue_job")
*/
class DtcJob extends BaseJob
{
}
I guess that Doctrine tries to load my class AND the Job class in the bundle, generating exception correctly because there cannot be two entities with the same table name
If I change the table name everything goes well, but table dtc_queue_job is created anyway, which bothers me
When following https://github.com/mmucklo/DtcQueueBundle#rename-the-database-or-table-name, I get the error
The table with name 'dtc_queue_job' already exists.
__config/packages/dtc_queue.yaml__
src/Entity/DtcJob.php
I guess that Doctrine tries to load my class AND the Job class in the bundle, generating exception correctly because there cannot be two entities with the same table name
If I change the table name everything goes well, but table
dtc_queue_job
is created anyway, which bothers me