Skip to content

Commit 5f573bb

Browse files
committed
Skip "20250910_1238_correct_multi_project_commits.php" migration during unit test execution.
1 parent e14136c commit 5f573bb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

migrations/20250910_1238_correct_multi_project_commits.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
<?php
22

3-
use ConsoleHelpers\SVNBuddy\Repository\RevisionLog\MigrationContext;
3+
use ConsoleHelpers\DatabaseMigration\MigrationContext;
4+
use ConsoleHelpers\SVNBuddy\Repository\RevisionLog\MigrationContext as SvnBuddyMigrationContext;
45

56
return function (MigrationContext $context) {
7+
if ( !$context instanceof SvnBuddyMigrationContext ) {
8+
return;
9+
}
10+
611
$db = $context->getDatabase();
712

813
// Get commits, that belong to multiple projects.

0 commit comments

Comments
 (0)