Change Indexes names to unique ones

This commit is contained in:
Benoît Burnichon
2015-11-04 17:14:33 +01:00
parent 7dd766b4f9
commit 0717b86f5d
10 changed files with 18 additions and 18 deletions

View File

@@ -6,7 +6,7 @@ use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
/**
* @ORM\Table(name="WebhookEvents", indexes={@ORM\Index(name="name", columns={"name"})})
* @ORM\Table(name="WebhookEvents", indexes={@ORM\Index(name="webhook_event_name", columns={"name"})})
* @ORM\Entity(repositoryClass="Alchemy\Phrasea\Model\Repositories\WebhookEventRepository")
*/
class WebhookEvent