mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-15 16:07:55 +03:00
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:
@@ -90,4 +90,14 @@ class UuidType extends Type
|
||||
{
|
||||
return self::NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function requiresSQLCommentHint(AbstractPlatform $platform)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user