From 7d69dc6ea09f5b7e36a0f90dfc4467a5dd395750 Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Wed, 7 Feb 2024 21:58:39 +0100 Subject: [PATCH] CS --- src/Console/ModelsCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/ModelsCommand.php b/src/Console/ModelsCommand.php index 42dfc95..8e6be5c 100644 --- a/src/Console/ModelsCommand.php +++ b/src/Console/ModelsCommand.php @@ -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); }