<?php namespace App; use Illuminate\Database\Eloquent\Model; class ranks extends Model { // protected $primaryKey = 'id'; protected $fillable = ['rank']; }