Skip to content

Commit 0f5e777

Browse files
committed
wip
1 parent dc0df21 commit 0f5e777

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -138,15 +138,9 @@ By default, the Eloquent Driver stores all data in a single `data` column. Howev
138138

139139
Once created, you will need to update the model in the `entries` section of the configuration file:
140140

141-
```php
142-
// config/statamic/eloquent-driver.php
143-
144-
'entries' => [
145-
'driver' => 'file',
146-
'model' => \App\Models\Entry::class, // Your custom Entry model
147-
'entry' => \Statamic\Eloquent\Entries\Entry::class,
148-
'map_data_to_columns' => false,
149-
],
141+
```diff
142+
- 'model' => \Statamic\Eloquent\Entries\EntryModel::class,
143+
+ 'model' => \App\Models\Entry::class,
150144
```
151145

152146
5. If you have existing entries, you will need to re-save them to populate the new columns. You can do this by pasting the following snippet into `php artisan tinker`:

0 commit comments

Comments
 (0)