IDbMigrationInfo
in
Information on a migration repository item.
Table of Contents
Methods
- getClassName() : string
- Returns the class name of the migration.
- getName() : string
- Returns the name of the migration.
- migrate() : void
- Creates an instance of the underlying migration and runs it. This process is irreversible!
Methods
getClassName()
Returns the class name of the migration.
public
getClassName() : string
Return values
string —Migration class name.
getName()
Returns the name of the migration.
public
getName() : string
Return values
string —Migration name.
migrate()
Creates an instance of the underlying migration and runs it. This process is irreversible!
public
migrate(IDbConnection $conn) : void
Parameters
- $conn : IDbConnection
-
Database connection to execute this migration on.