1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Update UserConfig schema

This commit is contained in:
Jeremy 2015-02-11 21:06:32 +01:00
parent 2f6a596760
commit 55f58c9c5e
3 changed files with 36 additions and 36 deletions

View file

@ -3,6 +3,7 @@
namespace Wallabag\CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* Config
@ -15,16 +16,17 @@ class Config
/**
* @var integer
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="name", type="string", nullable=true)
* @Assert\NotBlank()
* @ORM\Column(name="name", type="string", nullable=false)
*/
private $name;