created function for registering structures which should only be accessible by those with the correct scope.

This commit is contained in:
2020-05-09 10:37:03 -05:00
parent f501514aa2
commit 96a2fb1c3e
5 changed files with 71 additions and 42 deletions
+3
View File
@@ -26,6 +26,9 @@ class CorpMoonObserver extends Model
'observer_id',
'observer_name',
'observer_type',
'observer_owner_id',
'solar_system_id',
'observer_type_id',
'last_updated',
];
}
@@ -1,29 +0,0 @@
<?php
namespace App\Models\Moon;
use Illuminate\Database\Eloquent\Model;
class CorpObserversRegistered extends Model
{
//Table Name
protected $table = 'corp_mining_observers_registered';
//Primary Key
public $primaryKey = 'id';
//Timestamps
public $timestamps = true;
/**
* Attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'character_id',
'character_name',
'corporation_id',
'corporation_name',
];
}