- Db\Migration
- Users\Migrations\UserValidKeys
class Users\Migrations \ UserValidKeys
Represents a database "migration", which can be composed together with other migrations across multiple components to initialise a database and update it with updates. (from Migration)
Method Summary
Name | Description |
---|---|
apply(Connection $db) | Apply only the current migration. |
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) |
getParents() | Get all parent Migrations that this migration depends on, as a list (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) |
isApplied(Connection $db) | (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