mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-05 18:23:48 +00:00
21 lines
540 B
PHP
21 lines
540 B
PHP
<?php
|
|
|
|
/** @var \Illuminate\Database\Eloquent\Factory $factory */
|
|
|
|
use App\FileManagerFile;
|
|
use Faker\Generator as Faker;
|
|
use Illuminate\Support\Carbon;
|
|
|
|
$factory->define(FileManagerFile::class, function (Faker $faker) {
|
|
return [
|
|
'unique_id' => $faker->randomDigit,
|
|
'user_id' => 0,
|
|
'folder_id' => 0,
|
|
'name' => $faker->firstName,
|
|
'basename' => $faker->lastName,
|
|
'user_scope' => 'master',
|
|
'updated_at' => Carbon::now(),
|
|
'created_at' => Carbon::now()
|
|
];
|
|
});
|