mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
CS
This commit is contained in:
@@ -510,7 +510,7 @@ class ModelsCommand extends Command
|
|||||||
$schema = $model->getConnection()->getDoctrineSchemaManager();
|
$schema = $model->getConnection()->getDoctrineSchemaManager();
|
||||||
$databasePlatform = $schema->getDatabasePlatform();
|
$databasePlatform = $schema->getDatabasePlatform();
|
||||||
$databasePlatform->registerDoctrineTypeMapping('enum', 'string');
|
$databasePlatform->registerDoctrineTypeMapping('enum', 'string');
|
||||||
|
|
||||||
if (strpos($table, '.')) {
|
if (strpos($table, '.')) {
|
||||||
[$database, $table] = explode('.', $table);
|
[$database, $table] = explode('.', $table);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user