This commit is contained in:
Barry vd. Heuvel
2024-02-07 21:58:39 +01:00
parent 62fc436c4c
commit 7d69dc6ea0
+1 -1
View File
@@ -510,7 +510,7 @@ class ModelsCommand extends Command
$schema = $model->getConnection()->getDoctrineSchemaManager();
$databasePlatform = $schema->getDatabasePlatform();
$databasePlatform->registerDoctrineTypeMapping('enum', 'string');
if (strpos($table, '.')) {
[$database, $table] = explode('.', $table);
}