1
0
mirror of https://github.com/flarum/core.git synced 2025-07-25 02:31:17 +02:00

Merge pull request #1363 from clarkwinkelmann/extension-rollback

Add extension rollback command
This commit is contained in:
Toby Zerner
2018-02-13 07:18:00 +10:30
committed by GitHub
3 changed files with 86 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);
}
/**