@@ -244,6 +244,9 @@ discard block |
||
244 | 244 | return $this->connectionFactory->getConnection($type, $connectionParams); |
245 | 245 | } |
246 | 246 | |
247 | + /** |
|
248 | + * @param string $app |
|
249 | + */ |
|
247 | 250 | protected function replayMigrations(Connection $fromDB, Connection $toDB, $app) { |
248 | 251 | if ($app !== 'core') { |
249 | 252 | \OC_App::loadApp($app); |
@@ -256,6 +259,9 @@ discard block |
||
256 | 259 | } |
257 | 260 | } |
258 | 261 | |
262 | + /** |
|
263 | + * @param string $app |
|
264 | + */ |
|
259 | 265 | protected function appHasMigrations($app) { |
260 | 266 | return is_dir($this->appManager->getAppPath($app).'/appinfo/Migrations'); |
261 | 267 | } |