- Small bugfixe in database migration tool
This commit is contained in:
parent
d133ac662e
commit
7b4d1e5cd7
@ -56,7 +56,7 @@ class DatabaseMigration implements FormInterface
|
||||
);
|
||||
|
||||
# Column do not exists
|
||||
if ( $tableEntity->columns->filtersCollection(fn($e) => $e->name === $field)->count() === 0 ) {
|
||||
if ( $tableEntity->columns->filtersCollection(fn($e) => strtolower($e->name) === $field)->count() === 0 ) {
|
||||
$def->action = "add";
|
||||
|
||||
$def->modifier = new Lib\Database\Modifier(
|
||||
|
Loading…
x
Reference in New Issue
Block a user