type varchar replaced with type string
This commit is contained in:
parent
894dfd1a6b
commit
1c31603e17
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ entities:
|
||||||
const STATUS_VISIBLE = 'visible';
|
const STATUS_VISIBLE = 'visible';
|
||||||
const STATUS_INVISIBLE = 'invisible';
|
const STATUS_INVISIBLE = 'invisible';
|
||||||
|
|
||||||
/** @Column(type="varchar") */
|
/** @Column(type="string") */
|
||||||
private $status;
|
private $status;
|
||||||
|
|
||||||
public function setStatus($status)
|
public function setStatus($status)
|
||||||
|
@ -70,7 +70,7 @@ the **columnDefinition** attribute.
|
||||||
/** @Entity */
|
/** @Entity */
|
||||||
class Article
|
class Article
|
||||||
{
|
{
|
||||||
/** @Column(type="varchar", columnDefinition="ENUM('visible', 'invisible')") */
|
/** @Column(type="string", columnDefinition="ENUM('visible', 'invisible')") */
|
||||||
private $status;
|
private $status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue