Skip to content

Commit

Permalink
TASK: Ensure migration works case sensitive and will end in a workspa…
Browse files Browse the repository at this point in the history
…ceName with a leading letter. Also applying to baseWorkspaceName.
  • Loading branch information
dlubitz committed Aug 15, 2024
1 parent 4ef9987 commit 6acb21f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ public function migratePayloadToValidWorkspaceNames(\Closure $outputFn): void
$affectedRowsBaseWorkspaceName = $this->connection->executeStatement($statementBaseWorkspaceName);
$this->connection->commit();

if ($affectedRowsWorkspaceName + $affectedRowsBaseWorkspaceName === 0) {
if ($affectedRowsWorkspaceName === 0 && $affectedRowsBaseWorkspaceName === 0) {
$outputFn('Migration was not necessary.');
return;
}
Expand Down

0 comments on commit 6acb21f

Please sign in to comment.