Commit 7f22e43b authored by Steve Müller's avatar Steve Müller

fix table alteration on Drizzle

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