Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Doctrine Migrations #511

Merged
merged 2 commits into from
Aug 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"php": "^8.2",
"algolia/algoliasearch-client-php": "^3.3",
"doctrine/inflector": "^2.0",
"doctrine/migrations": "^3.5",
"doctrine/orm": "^2.14",
"doctrine/rst-parser": "^0.5",
"doctrine/skeleton-mapper": "^2.0",
Expand Down
166 changes: 1 addition & 165 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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
29 changes: 0 additions & 29 deletions lib/Migrations/Version20190515005142.php

This file was deleted.

Loading