C# Class Rock.Plugin.Migration

Class for defining a plugin migration
Inheritance: Rock.Data.IMigration
Mostrar archivo Open project: SparkDevNetwork/Rock

Public Methods

Method Description
Down ( ) : void

The commands to undo a migration from a specific version

Sql ( string sql ) : void

Executes a sql statement

Up ( ) : void

The commands to run to migrate plugin to the specific version

Method Details

Down() public abstract method

The commands to undo a migration from a specific version
public abstract Down ( ) : void
return void

Sql() public method

Executes a sql statement
public Sql ( string sql ) : void
sql string The SQL.
return void

Up() public abstract method

The commands to run to migrate plugin to the specific version
public abstract Up ( ) : void
return void