Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6e50f7f

Browse files
authored
Fix reversed logic for native UUID detection
1 parent 7e9f646 commit 6e50f7f

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)