File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6262 },
6363 "scripts" : {
6464 "clean-directories" : " bin/console clean-directories cache log" ,
65+ "database:schema:create" : " bin/console odm:schema:create" ,
6566 "database:schema:drop" : " bin/console odm:schema:drop --db" ,
6667 "database:schema:update" : " bin/console odm:schema:update" ,
67- "database:schema:validate" : " bin/console odm:schema:validate" ,
6868 "fix:cs" : " mkdir -p build && vendor/bin/php-cs-fixer fix --cache-file=build/phpcs.cache" ,
6969 "setup:dev" : [
7070 " @database:schema:drop --env=dev" ,
71- " @database:schema:update --env=dev" ,
71+ " @database:schema:create --env=dev" ,
7272 " @clean-directories --env=dev"
7373 ],
74- "setup:phpunit" : [
75- " @database:schema:drop --env=phpunit" ,
76- " @database:schema:update --env=phpunit" ,
77- " @clean-directories --env=phpunit"
78- ],
7974 "test" : [
8075 " @test:lint" ,
8176 " @test:static-analysis" ,
Original file line number Diff line number Diff line change @@ -54,8 +54,7 @@ private function initialize(): void
5454 echo 'initialize: start ' .PHP_EOL ;
5555
5656 passthru ($ consolePath .' odm:schema:drop --db --env=phpunit ' );
57- passthru ($ consolePath .' odm:schema:update --env=phpunit ' );
58-
57+ passthru ($ consolePath .' odm:schema:create --env=phpunit ' );
5958 passthru ($ consolePath .' clean-directories cache log --env=phpunit ' );
6059
6160 echo 'initialize: end ' .PHP_EOL .PHP_EOL ;
You can’t perform that action at this time.
0 commit comments