fix bug of transferring player

This commit is contained in:
printempw 2016-09-25 09:38:46 +08:00
parent 6f7e6534ba
commit eb8f33ef8f

View File

@ -237,7 +237,7 @@ class PlayerModel extends \Illuminate\Database\Eloquent\Model
protected $table = 'players';
public $timestamps = false;
protected $fillable = ['player_name', 'preference', 'last_modified'];
protected $fillable = ['uid', 'player_name', 'preference', 'last_modified'];
public function scopeLike($query, $field, $value)
{