mirror of
https://github.com/flarum/framework.git
synced 2025-02-24 03:47:41 +08:00
Change migration namespace format
This commit is contained in:
parent
60467540fe
commit
91aab4cd21
@ -246,7 +246,7 @@ class Migrator
|
|||||||
{
|
{
|
||||||
$file = implode('_', array_slice(explode('_', $file), 4));
|
$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);
|
$class .= Str::studly($file);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user