Skip to content

Commit

Permalink
Remove doctrine migrations occurrences from code
Browse files Browse the repository at this point in the history
  • Loading branch information
SenseException committed Aug 26, 2023
1 parent 8d3eb35 commit 39815fb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
10 changes: 0 additions & 10 deletions config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -405,15 +405,5 @@
<argument key="serverVersion">%doctrine.website.mysql.version%</argument>
</argument>
</service>

<service id="Doctrine\Migrations\Configuration\Configuration">
<call method="setAllOrNothing">
<argument>true</argument>
</call>
<call method="addMigrationsDirectory">
<argument>Doctrine\Website\Migrations</argument>
<argument>%doctrine.website.root_dir%/lib/Migrations</argument>
</call>
</service>
</services>
</container>
13 changes: 0 additions & 13 deletions lib/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Tools\Console\Command as DBALCommand;
use Doctrine\DBAL\Tools\Console\ConnectionProvider\SingleConnectionProvider;
use Doctrine\Migrations\Tools\Console\Command as MigrationsCommand;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\Tools\Console\Command as ORMCommand;
use Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper;
Expand Down Expand Up @@ -92,18 +91,6 @@ public function __construct(
new ORMCommand\ValidateSchemaCommand(),
new ORMCommand\InfoCommand(),
new ORMCommand\MappingDescribeCommand(),

// Migrations Commands
new MigrationsCommand\DumpSchemaCommand(),
new MigrationsCommand\ExecuteCommand(),
new MigrationsCommand\GenerateCommand(),
new MigrationsCommand\LatestCommand(),
new MigrationsCommand\MigrateCommand(),
new MigrationsCommand\RollupCommand(),
new MigrationsCommand\StatusCommand(),
new MigrationsCommand\VersionCommand(),
new MigrationsCommand\UpToDateCommand(),
new MigrationsCommand\DiffCommand(),
]);
}

Expand Down

0 comments on commit 39815fb

Please sign in to comment.