eliteregistry/app/Models/Ships.php
Matt Burchett 64cb718ac4
Some checks reported errors
continuous-integration/drone/push Build was killed
DB Migrations, adding ship type
2021-04-07 01:07:09 -07:00

16 lines
272 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Kyslik\ColumnSortable\Sortable;
class Ships extends Model
{
use Sortable;
public $sortable = ['shipId', 'shipName', 'shipOwner', 'shipType'];
protected $casts = ['id' => 'string'];
}