- Db\Migration
- Core\Migrations\AllMigrations
class Core\Migrations \ AllMigrations
Represents all migrations that need to be applied to Openclerk.
Method Summary
Name | Description |
---|---|
getName() | |
getParents() | Get all parent Migrations that this migration depends on, as a list |
Inherited Method Summary
Name | Description |
---|---|
apply(Connection $db) | Apply only the current migration. (from Migration) |
getAllParents() | Get all our parent Migrations along with all of its parents migrations into one unique array. (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 getName()
- Overrides:
- getName()
public function getParents()
Get all parent Migrations that this migration depends on, as a list (from getParents)
- Overrides:
- getParents()