public function doUpdate(Updater $updater)
{
try {
self::enableMaintenanceMode();
$updater->executeMigrations(__FILE__, $this->getMigrations($updater));
self::disableMaintenanceMode();
} catch (\Exception $e) {
self::disableMaintenanceMode();
throw $e;
}
}