From 13202b4fd5eda658ae98dc5413b1c6dc2a68ce1e Mon Sep 17 00:00:00 2001 From: Ryan Mitchell Date: Wed, 8 May 2024 07:09:23 +0100 Subject: [PATCH] Fix migration path for global variables update (#281) --- src/Updates/SplitGlobalsFromVariables.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Updates/SplitGlobalsFromVariables.php b/src/Updates/SplitGlobalsFromVariables.php index 0fcacef9..6f803a91 100644 --- a/src/Updates/SplitGlobalsFromVariables.php +++ b/src/Updates/SplitGlobalsFromVariables.php @@ -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);