blessing-skin-server/database/factories/PlayerModelFactory.php
2019-03-13 13:16:51 +08:00

12 lines
250 B
PHP

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