Running a blank project. I have currently this in my composer.json
"require": {
"php": ">=8.1",
"doctrine/doctrine-bundle": "^2.7",
"doctrine/migrations": "^3.5",
"doctrine/orm": "^2.13",
"test/framework-bundle": "^6.1@dev", //my fork of framework-bundle latest.
"symfony/runtime": "^6.1"
},
When I run ./vendor/bin/doctrine-migrations
I see following commands:
migrations
migrations:current [current] Outputs the current version
migrations:dump-schema [dump-schema] Dump the schema for your database to a migration.
migrations:execute [execute] Execute one or more migration versions up or down manually.
migrations:generate [generate] Generate a blank migration class.
migrations:latest [latest] Outputs the latest version
migrations:list [list-migrations] Display a list of all available migrations and their status.
migrations:migrate [migrate] Execute a migration to a specified version or the latest available version.
migrations:rollup [rollup] Rollup migrations by deleting all tracked versions and insert the one version that exists.
migrations:status [status] View the status of a set of migrations.
migrations:sync-metadata-storage [sync-metadata-storage] Ensures that the metadata storage is at the latest version.
migrations:up-to-date [up-to-date] Tells you if your schema is up-to-date.
migrations:version
there is no diff
. Also when I try to run diff
it says that command is not defined. Anyone knows what the problem is?