mirror of
https://framagit.org/tykayn/date-poll-api
synced 2023-08-25 08:23:11 +02:00
make unique custom url for polls
This commit is contained in:
parent
2d2607d30b
commit
6626241ce8
@ -29,7 +29,7 @@ class Poll {
|
|||||||
*/
|
*/
|
||||||
public $title;
|
public $title;
|
||||||
/**
|
/**
|
||||||
* @ORM\Column(type="string", length=255, nullable=true)
|
* @ORM\Column(type="string", length=255, nullable=false, unique=true)
|
||||||
* @Serializer\Expose()
|
* @Serializer\Expose()
|
||||||
* @Serializer\Type("string")
|
* @Serializer\Type("string")
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user