Remove Passport and replace with Sanctum, upgrade framework to Laravel 10

This commit is contained in:
2023-06-26 12:32:38 +12:00
parent 75549590fc
commit b70a36003a
22 changed files with 1294 additions and 2865 deletions

View File

@@ -9,7 +9,10 @@ class Nodelist extends Model
{
use SoftDeletes;
protected $dates = ['date'];
protected $casts = [
'date' => 'datetime:Y-m-d H:i:s'
];
protected $fillable = ['date','domain_id'];
public const definitions = ['Zone','Region','Host','Hub','Pvt','Hold','Down'];