Skip to content

Commit 28388ed

Browse files
committed
there is no need for validate after schema was created
1 parent c8d573f commit 28388ed

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

composer.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,11 @@
6868
"database:schema:create": "bin/console orm:schema-tool:create",
6969
"database:schema:drop": "bin/console orm:schema-tool:drop --force",
7070
"database:schema:update": "bin/console orm:schema-tool:update --force",
71-
"database:schema:validate": "bin/console orm:validate-schema",
7271
"fix:cs": "mkdir -p build && vendor/bin/php-cs-fixer fix --cache-file=build/phpcs.cache",
7372
"setup:dev": [
7473
"@database:create --env=dev",
7574
"@database:schema:drop --env=dev",
7675
"@database:schema:create --env=dev",
77-
"@database:schema:validate --env=dev",
7876
"@clean-directories --env=dev"
7977
],
8078
"test": [

tests/PhpServerExtension.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ private function initialize(): void
5656
passthru($consolePath.' dbal:database:create --if-not-exists --env=phpunit');
5757
passthru($consolePath.' orm:schema-tool:drop --force --env=phpunit');
5858
passthru($consolePath.' orm:schema-tool:create --env=phpunit');
59-
passthru($consolePath.' orm:validate-schema --env=phpunit');
6059
passthru($consolePath.' clean-directories cache log --env=phpunit');
6160

6261
echo 'initialize: end'.PHP_EOL.PHP_EOL;

0 commit comments

Comments
 (0)