Unique index on Invite::$code.
This commit is contained in:
parent
b35da23e8e
commit
0dd74177e3
|
@ -30,7 +30,7 @@ class Invite
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
*
|
*
|
||||||
* @ORM\Column(name="code", type="string", length=32)
|
* @ORM\Column(name="code", type="string", length=32, unique=true)
|
||||||
*/
|
*/
|
||||||
private $code;
|
private $code;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue