Command List

jpoehls edited this page Aug 23, 2010 · 1 revision

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.