mirror of
https://github.com/flarum/core.git
synced 2025-07-21 08:41:17 +02:00
Change migration namespace format
This commit is contained in:
@@ -246,7 +246,7 @@ class Migrator
|
||||
{
|
||||
$file = implode('_', array_slice(explode('_', $file), 4));
|
||||
|
||||
$class = 'Flarum\\Migrations\\' . ($extension ? Str::studly($extension) : 'Core') . '\\';
|
||||
$class = ($extension ? str_replace('-', '\\', $extension) : 'Core') . '\\Migrations\\';
|
||||
|
||||
$class .= Str::studly($file);
|
||||
|
||||
|
Reference in New Issue
Block a user