- Db\Migration
- Core\Migrations\CopyOpenIDIdentities
class Core\Migrations \ CopyOpenIDIdentities
Copies identities from openid_identities
to user_openid_identities
(issue #266).
Method Summary
Name | Description |
---|---|
apply(Connection $db) | Apply only the current migration. |
getParents() | Get all parent Migrations that this migration depends on, as a list |
isApplied(Connection $db) | Override the default function to check that a table doesn't exist. |
Inherited Method Summary
Name | Description |
---|---|
getAllParents() | Get all our parent Migrations along with all of its parents migrations into one unique array. (from Migration) |
getName() | (from Migration) |
hasPending(Connection $db) | (from Migration) |
install(Connection $db, Logger $log) | Install the current migration and any parent migrations that this migration depends on. (from Migration) |
tableExists(Connection $db, $table) | Used e.g. in BaseMigration (from Migration) |
public function apply(Connection $db)
Apply only the current migration.
- Overrides:
- apply(Connection $db)
- Returns:
true on success or false on failure
public function getParents()
Get all parent Migrations that this migration depends on, as a list (from getParents)
- Overrides:
- getParents()
public function isApplied(Connection $db)
Override the default function to check that a table doesn't exist.
- Overrides:
- isApplied(Connection $db)
- Returns:
true if this migration is applied