Skip to content

Commit e3d9f5b

Browse files
authored
Bug fix in globals migration (#180)
1 parent 679be6b commit e3d9f5b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/ServiceProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class ServiceProvider extends AddonServiceProvider
4444
\Statamic\Eloquent\Updates\AddBlueprintToEntriesTable::class,
4545
\Statamic\Eloquent\Updates\ChangeDefaultBlueprint::class,
4646
\Statamic\Eloquent\Updates\DropForeignKeysOnEntriesAndForms::class,
47+
\Statamic\Eloquent\Updates\SplitGlobalsFromVariables::class,
4748
];
4849

4950
protected $listen = [

src/Updates/SplitGlobalsFromVariables.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function update()
1919

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

22-
$source = __DIR__.'/../../database/migrations/updates/update_globals_table.stub';
22+
$source = __DIR__.'/../../database/migrations/updates/update_globals_table.php.stub';
2323
$dest = database_path('migrations/'.date('Y_m_d_His').'_update_globals_table.php');
2424

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

0 commit comments

Comments
 (0)