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.

NamePurpose
versionReports the current version of the database and the version of the latest migration script.
generateGenerates a new, uniquely named database migration script
migrateMigrates the database up and down versions based on the contents of the available migration scripts
rollbackReverts the database back one version.