w0bm.com v1.5z FULL.RETARD.BUILD.BUT.STILL.WORKS

This commit is contained in:
noxy
2019-08-26 16:58:26 +00:00
commit da71b95aa2
517 changed files with 143236 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
use Illuminate\Database\Seeder;
class FilterSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$cats = \App\Models\Category::lists('id');
foreach(\App\Models\User::withTrashed()->get() as $user) {
$user->categories = $cats;
$user->save();
}
}
}