We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2090129 + b7a59e4 commit 0fed657Copy full SHA for 0fed657
README.md
@@ -104,7 +104,7 @@ services:
104
105
Usage:
106
```bash
107
-php bin/console doctrine:schema:delete <schema_name>
+php bin/console doctrine:database:schema:drop <schema_name>
108
```
109
110
**Security Note:** You can specify disallowed schema names to prevent accidental deletion of critical schemas like `public`.
src/Command/Doctrine/DoctrineSchemaDropCommand.php
@@ -18,7 +18,7 @@ public function __construct(
18
Connection $connection,
19
private readonly array $disallowedSchemaNames = [],
20
) {
21
- parent::__construct('doctrine:schema:delete', $connection);
+ parent::__construct('doctrine:database:schema:drop', $connection);
22
}
23
24
protected function execute(
0 commit comments