bulk-operations v0.1 user_delete,guest_delete BE

This commit is contained in:
Milos Holba
2020-11-01 19:52:33 +01:00
parent 5be9db83f7
commit 06db522545
11 changed files with 294 additions and 146 deletions

View File

@@ -0,0 +1,17 @@
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\FileManagerFolder;
use Faker\Generator as Faker;
$factory->define(FileManagerFolder::class, function (Faker $faker) {
return [
'id' => $faker->randomDigit,
'unique_id' => $faker->randomDigit,
'user_id' => 1,
'parent_id' => 0,
'name' => $faker->sentence,
'type' => 'folder',
];
});