aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity/InternalSetting.php
blob: df8bd3be2b27153e833e17f25ab09e973e38d92b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php

namespace Wallabag\CoreBundle\Entity;

use Craue\ConfigBundle\Entity\BaseSetting;
use Doctrine\ORM\Mapping as ORM;

/**
 * InternalSetting.
 *
 * Re-define setting so we can override length attribute to fix utf8mb4 issue.
 *
 * @ORM\Entity(repositoryClass="Craue\ConfigBundle\Repository\SettingRepository")
 * @ORM\Table(name="`internal_setting`")
 * @ORM\AttributeOverrides({
 *      @ORM\AttributeOverride(name="name",
 *          column=@ORM\Column(
 *              length = 191
 *          )
 *      ),
 *      @ORM\AttributeOverride(name="section",
 *          column=@ORM\Column(
 *              length = 191
 *          )
 *      )
 * })
 */
class InternalSetting extends BaseSetting
{
    /**
     * @var string|null
     *
     * @ORM\Column(name="value", type="string", nullable=true, length=191)
     */
    protected $value;
}