1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 21:20:24 +02:00

Add extension rollback command

This commit is contained in:
Clark Winkelmann
2018-02-09 18:32:44 +01:00
parent aff1b9a5e4
commit 479fafbf5c
3 changed files with 78 additions and 1 deletions

View File

@@ -247,10 +247,11 @@ class ExtensionManager
* Runs the database migrations to reset the database to its old state.
*
* @param Extension $extension
* @return array Notes from the migrator.
*/
public function migrateDown(Extension $extension)
{
$this->migrate($extension, false);
return $this->migrate($extension, false);
}
/**