Commit 75ff7d10 authored by Mark Badolato's avatar Mark Badolato

[DBAL-264] Support for UIDs in PostgreSQL

Add getGuidExpression() to PostgreSqlPlatform so that UUID support
works properly
parent e916af63
......@@ -666,6 +666,14 @@ class PostgreSqlPlatform extends AbstractPlatform
return 'TIME(0) WITHOUT TIME ZONE';
}
/**
* {@inheritDoc}
*/
public function getGuidExpression()
{
return 'UUID_GENERATE_V4()';
}
/**
* {@inheritDoc}
*/
......
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