diff --git a/src/Bakery/Upgrade.php b/src/Bakery/Upgrade.php index 73f754f..4b169e5 100644 --- a/src/Bakery/Upgrade.php +++ b/src/Bakery/Upgrade.php @@ -398,7 +398,9 @@ protected function mapOldTableNames($legacyTables) $newName = $this->newPrefix . $baseName; } - $renamedSourceTables[$oldName] = $newName; + if ($oldName != $newName) { + $renamedSourceTables[$oldName] = $newName; + } } return $renamedSourceTables;