From 1c31603e177f47c6f8ed6226d9dc7fde7ad03d9d Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sat, 31 Dec 2011 04:33:46 +0100 Subject: [PATCH] type varchar replaced with type string --- en/cookbook/mysql-enums.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/cookbook/mysql-enums.rst b/en/cookbook/mysql-enums.rst index b8cef7b21..69f0a351b 100644 --- a/en/cookbook/mysql-enums.rst +++ b/en/cookbook/mysql-enums.rst @@ -49,7 +49,7 @@ entities: const STATUS_VISIBLE = 'visible'; const STATUS_INVISIBLE = 'invisible'; - /** @Column(type="varchar") */ + /** @Column(type="string") */ private $status; public function setStatus($status) @@ -70,7 +70,7 @@ the **columnDefinition** attribute. /** @Entity */ class Article { - /** @Column(type="varchar", columnDefinition="ENUM('visible', 'invisible')") */ + /** @Column(type="string", columnDefinition="ENUM('visible', 'invisible')") */ private $status; }