Adding Ship Class column

This commit is contained in:
2021-04-09 01:35:39 -07:00
parent 589bf47eff
commit 0145a8073a
4 changed files with 42 additions and 2 deletions

View File

@@ -10,6 +10,6 @@ use Kyslik\ColumnSortable\Sortable;
class Ships extends Model
{
use Sortable;
public $sortable = ['shipId', 'shipName', 'shipOwner', 'shipType'];
public $sortable = ['shipId', 'shipName', 'shipOwner', 'shipType', 'shipClass'];
protected $casts = ['id' => 'string'];
}