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:
2018-11-10 03:10:22 -06:00
parent 619180243e
commit b241f5509d
8 changed files with 260 additions and 76 deletions
+29
View File
@@ -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',
];
}