BookStack/app/Api/ApiToken.php

12 lines
229 B
PHP

<?php namespace BookStack\Api;
use Illuminate\Database\Eloquent\Model;
class ApiToken extends Model
{
protected $fillable = ['name', 'expires_at'];
protected $casts = [
'expires_at' => 'datetime:Y-m-d'
];
}