- Now checking supportAlterColumnAction in database migration from adapter
This commit is contained in:
parent
3de4b78a0b
commit
2fd9331c15
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user