- Small bugfixe in database migration tool

This commit is contained in:
Dave Mc Nicoll 2023-08-31 09:17:29 -04:00
parent d133ac662e
commit 7b4d1e5cd7

View File

@ -56,7 +56,7 @@ class DatabaseMigration implements FormInterface
); );
# Column do not exists # 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->action = "add";
$def->modifier = new Lib\Database\Modifier( $def->modifier = new Lib\Database\Modifier(