- Now checking supportAlterColumnAction in database migration from adapter

This commit is contained in:
mcndave committed 2025-07-17 18:40:50 +00:00
1 parent 3de4b78a0b
commit 2fd9331c15
1 file changed
+1 -1
+1 -1
View File
@@ -71,7 +71,7 @@ class Migrate implements FormInterface
$def->action = "change"; $def->action = "change";
} }
if ($def->action) { if ($def->action && $adapter->supportAlterColumnAction($def->action)) {
$def->modifier = new Lib\Database\Modifier( $def->modifier = new Lib\Database\Modifier(
type: Lib\Database\ModifierTypeEnum::Alter, type: Lib\Database\ModifierTypeEnum::Alter,
query: $entity::repository() query: $entity::repository()