Command
Table of Contents
Classes
- CurrentCommand
- The CurrentCommand class is responsible for outputting what your current version is.
- DiffCommand
- The DiffCommand class is responsible for generating a migration by comparing your current database schema to
your mapping information.
- DoctrineCommand
- The DoctrineCommand class provides base functionality for the other migrations commands to extend from.
- DumpSchemaCommand
- The DumpSchemaCommand class is responsible for dumping your current database schema to a migration class. This is
intended to be used in conjunction with the RollupCommand.
- ExecuteCommand
- The ExecuteCommand class is responsible for executing migration versions up or down manually.
- GenerateCommand
- The GenerateCommand class is responsible for generating a blank migration class for you to modify to your needs.
- LatestCommand
- The LatestCommand class is responsible for outputting what your latest version is.
- ListCommand
- The ListCommand class is responsible for outputting a list of all available migrations and their status.
- MigrateCommand
- The MigrateCommand class is responsible for executing a migration from the current version to another
version up or down. It will calculate all the migration versions that need to be executed and execute them.
- RollupCommand
- The RollupCommand class is responsible for deleting all previously executed migrations from the versions table
and marking the freshly dumped schema migration (that was created with DumpSchemaCommand) as migrated.
- StatusCommand
- The StatusCommand class is responsible for outputting what the current state is of all your migrations. It shows
what your current version is, how many new versions you have to execute, etc. and details about each of your migrations.
- SyncMetadataCommand
- The DoctrineCommand class provides base functionality for the other migrations commands to extend from.
- UpToDateCommand
- The UpToDateCommand class outputs if your database is up to date or if there are new migrations
that need to be executed.
- VersionCommand
- The VersionCommand class is responsible for manually adding and deleting migration versions from the tracking table.