This project is read-only.

MigrateCommand Class

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

Overview:

The MigrateCommand class is used to move the database up and down versions.

Usage:

  • db.exe migrate migrationName [connection string]
    • The above will migrate the database up all migration versions newer than it's current versin.
  • db.exe migrate 0 migrationName [connection string]
    • The above will migrate the database down to the original version.
  • db.exe migrate 10 migrationName [connection string]
    • The above will migrate the database up or down to version 10 depending on if the current version is higher or lower than version 10.

Last edited Jan 30, 2010 at 1:15 AM by JamesEggers, version 1

Comments

No comments yet.