From ee074e7311754cc82fa65ebfa9e6a83361c9fae0 Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Fri, 17 May 2024 13:10:24 +0100 Subject: [PATCH] Fix entry model not being updated when importing entries --- src/Console/Commands/InstallEloquentDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/Commands/InstallEloquentDriver.php b/src/Console/Commands/InstallEloquentDriver.php index 73edbdc97d..217af5308c 100644 --- a/src/Console/Commands/InstallEloquentDriver.php +++ b/src/Console/Commands/InstallEloquentDriver.php @@ -289,7 +289,7 @@ protected function migrateEntries(): void File::put( config_path('statamic/eloquent-driver.php'), Str::of(File::get(config_path('statamic/eloquent-driver.php'))) - ->replace("'model' => \Statamic\Eloquent\Entries\EntryModel::class", "'model' => \Statamic\Eloquent\Entries\UuidEntryModel::class") + ->replace("'model' => \Statamic\Eloquent\Entries\EntryModel::class", "'model' => \Statamic\Eloquent\Entries\UuidEntryModel::class") ->__toString() );