Skip to content

Commit

Permalink
Fix migration path for global variables update (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmitchell authored May 8, 2024
1 parent 7b7fc60 commit 13202b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Updates/SplitGlobalsFromVariables.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ public function shouldUpdate($newVersion, $oldVersion)

public function update()
{
$source = __DIR__.'/../../database/migrations/create_global_variables_table.php.stub';
$dest = database_path('migrations/'.date('Y_m_d_His').'_create_global_variables_table.php');
$source = __DIR__.'/../../database/migrations/2024_03_07_100000_create_global_variables_table.php';
$dest = database_path('migrations/2024_03_07_100000_create_global_variables_table.php');

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

Expand Down

0 comments on commit 13202b4

Please sign in to comment.