Skip to content

Commit

Permalink
Fix issue on migration filename does not match migration class name
Browse files Browse the repository at this point in the history
  • Loading branch information
Darryl Anaud committed Sep 21, 2017
1 parent de0227b commit 1acc23a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Franzose/ClosureTable/Generators/Migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ protected function getPath($name, $path)
}
$this->usedTimestamps[] = $timestamp;

return $path . '/' . $timestamp->format('Y_m_d_His') . '_' . $this->getName($name) . '.php';
return $path . '/' . $timestamp->format('Y_m_d_His') . '_' . $this->getName($name) . '_migration.php';
}
}

0 comments on commit 1acc23a

Please sign in to comment.