blessing-skin-server/database/factories/PlayerModelFactory.php

12 lines
250 B
PHP
Raw Normal View History

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