Always require SQL comment hint

This commit is contained in:
Manuel Alejandro Paz Cetina 2020-09-23 01:30:05 -05:00
parent 7cb8ba585d
commit 33e78b43a4
2 changed files with 16 additions and 0 deletions

View File

@ -79,4 +79,12 @@ abstract class AbstractBinaryUidType extends GuidType
throw ConversionException::conversionFailed($value, $this->getName()); throw ConversionException::conversionFailed($value, $this->getName());
} }
} }
/**
* {@inheritdoc}
*/
public function requiresSQLCommentHint(AbstractPlatform $platform): bool
{
return true;
}
} }

View File

@ -69,4 +69,12 @@ abstract class AbstractUidType extends GuidType
throw ConversionException::conversionFailed($value, $this->getName()); throw ConversionException::conversionFailed($value, $this->getName());
} }
/**
* {@inheritdoc}
*/
public function requiresSQLCommentHint(AbstractPlatform $platform): bool
{
return true;
}
} }