You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-4
Original file line number
Diff line number
Diff line change
@@ -200,10 +200,7 @@ public function down(): void
200
200
#### Bulk mode
201
201
202
202
```php
203
-
use Illuminate\Database\Migrations\Migration;
204
-
use Matteoc99\LaravelPreference\Enums\Cast;
205
-
use Matteoc99\LaravelPreference\Factory\PreferenceBuilder;
206
-
use Matteoc99\LaravelPreference\Rules\InRule;
203
+
use Illuminate\Database\Migrations\Migration;use Matteoc99\LaravelPreference\Enums\Cast;use Matteoc99\LaravelPreference\Factory\PreferenceBuilder;use Matteoc99\LaravelPreference\Rules\InRule;
207
204
208
205
return new class extends Migration {
209
206
@@ -236,6 +233,10 @@ return new class extends Migration {
236
233
['name' => Preferences::CONFIGURATION,
237
234
'nullable' => true // or nullable for only one configuration
238
235
],
236
+
// or an array of initialized single-mode builders
0 commit comments