Added Sanctum + new options to seeder
This commit is contained in:
17
app/OneoffApplicant.php
Normal file
17
app/OneoffApplicant.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class OneoffApplicant extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
public function application()
|
||||
{
|
||||
return $this->belongsTo('App\Application', 'id', 'application_id');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user