blessing-skin-server/database/factories/ClosetModelFactory.php
2017-11-04 20:25:54 +08:00

12 lines
225 B
PHP

<?php
use App\Models\User;
use App\Models\Closet;
$factory->define(Closet::class, function (Faker\Generator $faker) {
return [
'uid' => factory(User::class)->create()->uid,
'textures' => '[]'
];
});