Commit 99618d2e authored by Benjamin Eberlei's avatar Benjamin Eberlei

Bugfix PostgreSQL after last refactoring.

parent 854a67da
...@@ -277,7 +277,7 @@ class PostgreSqlSchemaManager extends AbstractSchemaManager ...@@ -277,7 +277,7 @@ class PostgreSqlSchemaManager extends AbstractSchemaManager
$scale = null; $scale = null;
$dbType = strtolower($tableColumn['type']); $dbType = strtolower($tableColumn['type']);
if (strlen($tableColumn['domain_type'])) { if (strlen($tableColumn['domain_type']) && !$this->_platform->hasDoctrineTypeMappingFor($tableColumn['type'])) {
$dbType = strtolower($tableColumn['domain_type']); $dbType = strtolower($tableColumn['domain_type']);
$tableColumn['complete_type'] = $tableColumn['domain_complete_type']; $tableColumn['complete_type'] = $tableColumn['domain_complete_type'];
} }
......
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