aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity/InternalSetting.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/InternalSetting.php')
-rw-r--r--src/Wallabag/CoreBundle/Entity/InternalSetting.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/InternalSetting.php b/src/Wallabag/CoreBundle/Entity/InternalSetting.php
new file mode 100644
index 00000000..df8bd3be
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Entity/InternalSetting.php
@@ -0,0 +1,36 @@
1<?php
2
3namespace Wallabag\CoreBundle\Entity;
4
5use Craue\ConfigBundle\Entity\BaseSetting;
6use Doctrine\ORM\Mapping as ORM;
7
8/**
9 * InternalSetting.
10 *
11 * Re-define setting so we can override length attribute to fix utf8mb4 issue.
12 *
13 * @ORM\Entity(repositoryClass="Craue\ConfigBundle\Repository\SettingRepository")
14 * @ORM\Table(name="`internal_setting`")
15 * @ORM\AttributeOverrides({
16 * @ORM\AttributeOverride(name="name",
17 * column=@ORM\Column(
18 * length = 191
19 * )
20 * ),
21 * @ORM\AttributeOverride(name="section",
22 * column=@ORM\Column(
23 * length = 191
24 * )
25 * )
26 * })
27 */
28class InternalSetting extends BaseSetting
29{
30 /**
31 * @var string|null
32 *
33 * @ORM\Column(name="value", type="string", nullable=true, length=191)
34 */
35 protected $value;
36}