Command List
Below is a list of commands that are currently bundled with DotNetMigrations. If a command doesn't exist that meets your needs, feel free to check out the
DotNetMigrations-Contrib Project or how to create your own commands in the
Extending DNM section of the documentation.
Name | Purpose |
version | Reports the current version of the database and the version of the latest migration script. |
generate | Generates a new, uniquely named database migration script |
migrate | Migrates the database up and down versions based on the contents of the available migration scripts |
rollback | Reverts the database back one version. |