Commit 84ac8d98 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge pull request #463 from deeky666/fix-drizzle-table-alteration

Fix table alteration on Drizzle
parents e7b76919 7f22e43b
......@@ -439,7 +439,7 @@ class DrizzlePlatform extends AbstractPlatform
// Do not generate column alteration clause if type is binary and only fixed property has changed.
// Drizzle only supports binary type columns with variable length.
// Avoids unnecessary table alteration statements.
if ($column['type'] instanceof BinaryType &&
if ($columnArray['type'] instanceof BinaryType &&
$columnDiff->hasChanged('fixed') &&
count($columnDiff->changedProperties) === 1
) {
......
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