Commit fd346abf authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge pull request #312 from mbadolato/master

[DBAL-264] Support for UIDs in PostgreSQL
parents e916af63 75ff7d10
...@@ -666,6 +666,14 @@ class PostgreSqlPlatform extends AbstractPlatform ...@@ -666,6 +666,14 @@ class PostgreSqlPlatform extends AbstractPlatform
return 'TIME(0) WITHOUT TIME ZONE'; return 'TIME(0) WITHOUT TIME ZONE';
} }
/**
* {@inheritDoc}
*/
public function getGuidExpression()
{
return 'UUID_GENERATE_V4()';
}
/** /**
* {@inheritDoc} * {@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