Commit ab215e7d authored by rivaros's avatar rivaros

Fixes

parent 46061fe9
...@@ -620,7 +620,7 @@ class PostgreSqlPlatform extends AbstractPlatform ...@@ -620,7 +620,7 @@ class PostgreSqlPlatform extends AbstractPlatform
} }
/** /**
* Decleration for a UNIQUEIDENTIFIER (GUID) field in SQL Server * Decleration for a UUID field in PostgreSQL
* *
* @param array $field * @param array $field
* @return string * @return string
......
...@@ -38,18 +38,5 @@ class GuidType extends StringType ...@@ -38,18 +38,5 @@ class GuidType extends StringType
{ {
return Type::GUID; return Type::GUID;
} }
/**
* Converts a value from its database representation to its PHP representation
* of this type.
*
* @param mixed $value The value to convert.
* @param AbstractPlatform $platform The currently used database platform.
* @return mixed The PHP representation of the value.
*/
public function convertToPHPValue($value, AbstractPlatform $platform)
{
return (null === $value) ? null : str_replace("-","", $value);
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment