Skip to content

Commit 6a3a074

Browse files
R3VoLuT1OneRpatrickbrouwers
authored andcommitted
[FIX] Mapping convertion using database (#145)
1 parent 5b0645c commit 6a3a074

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Console/ConvertMappingCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace LaravelDoctrine\ORM\Console;
44

55
use Doctrine\Common\Persistence\ManagerRegistry;
6+
use Doctrine\ORM\Mapping\Driver\DatabaseDriver;
67
use Doctrine\ORM\Tools\Console\MetadataFilter;
78
use Doctrine\ORM\Tools\DisconnectedClassMetadataFactory;
89
use Doctrine\ORM\Tools\EntityGenerator;
@@ -21,7 +22,7 @@ class ConvertMappingCommand extends Command
2122
{--em= : Generate getter and setter for a specific entity manager. }
2223
{--filter= : A string pattern used to match entities that should be processed.}
2324
{--force= : Force to overwrite existing mapping files.}
24-
{--from-database= : Whether or not to convert mapping information from existing database.}
25+
{--from-database : Whether or not to convert mapping information from existing database.}
2526
{--extend= : Defines a base class to be extended by generated entity classes.}
2627
{--num-spaces=4 : Defines the number of indentation spaces}
2728
{--namespace= : Defines a namespace for the generated entity classes, if converted from database.}';

0 commit comments

Comments
 (0)