Skip to content

Commit 40cc534

Browse files
authored
Fix reversed logic for native UUID detection
1 parent f298781 commit 40cc534

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/dbal/DbalContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public function createDataBaseTable()
170170
return;
171171
}
172172

173-
if ($this->getDbalConnection()->getDatabasePlatform()->hasNativeGuidType()) {
173+
if (!$this->getDbalConnection()->getDatabasePlatform()->hasNativeGuidType()) {
174174
throw new \LogicException('The platform does not support UUIDs natively');
175175
}
176176

0 commit comments

Comments
 (0)