created fleets table
create sessions table modified register fleet in fleetscontroller modified addpilot in fleetscontroller modified render fleet display modified update fleet function created set fleet end time function modified fleet class created set fleet uri function modified function to see if a token has a particular scope for Fleet
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Fleet extends Model
|
||||
{
|
||||
// Table Name
|
||||
protected $table = 'Fleets';
|
||||
|
||||
// Primary Key
|
||||
public $primaryKey = 'id';
|
||||
|
||||
// Timestamps
|
||||
public $timestamps = false;
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'character_id',
|
||||
'fleet',
|
||||
'creation_time',
|
||||
'time_left',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user