Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Rollback

jpoehls edited this page Aug 29, 2010 · 1 revision

RollbackCommand Class

Namespace: DotNetMigrations.Commands
Access: Internal
Inherits/Implements: CommandBase (abstract class)

Overview:

The RollbackCommand class is used to revert the database back 1 migration level. If the database is currently at the original migration version (version 0), the command will do nothing.

Usage:

  • db.exe rollback migrationName {"[connection string]"}

Clone this wiki locally