Skip to content

Commit 13202b4

Browse files
authored
Fix migration path for global variables update (#281)
1 parent 7b7fc60 commit 13202b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Updates/SplitGlobalsFromVariables.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ public function shouldUpdate($newVersion, $oldVersion)
1616

1717
public function update()
1818
{
19-
$source = __DIR__.'/../../database/migrations/create_global_variables_table.php.stub';
20-
$dest = database_path('migrations/'.date('Y_m_d_His').'_create_global_variables_table.php');
19+
$source = __DIR__.'/../../database/migrations/2024_03_07_100000_create_global_variables_table.php';
20+
$dest = database_path('migrations/2024_03_07_100000_create_global_variables_table.php');
2121

2222
$this->files->copy($source, $dest);
2323

0 commit comments

Comments
 (0)