1
0
Fork 0
mirror of synced 2025-04-03 13:23:37 +03:00

type varchar replaced with type string

This commit is contained in:
Peter Kokot 2011-12-31 04:33:46 +01:00
parent 894dfd1a6b
commit 1c31603e17

View file

@ -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;
} }