added requiresSQLCommentHint true

To make Doctrine schema tool able distinguish between this type and string such that it does not try to update the field every time update schema is run.
This commit is contained in:
Jesper Pedersen
2013-07-04 14:09:23 +02:00
parent 1e5a0dcaf5
commit 8bb74e0297
+10
View File
@@ -90,4 +90,14 @@ class UuidType extends Type
{
return self::NAME;
}
/**
* {@inheritdoc}
*
* @return boolean
*/
public function requiresSQLCommentHint(AbstractPlatform $platform)
{
return true;
}
}