User can add/edit flights
This commit is contained in:
@@ -32,6 +32,10 @@ class User extends Authenticatable
|
||||
];
|
||||
}
|
||||
|
||||
public function flights(): HasMany {
|
||||
return $this->hasMany(UserFlight::class);
|
||||
}
|
||||
|
||||
public function ImportedFlights(): HasMany
|
||||
{
|
||||
return $this->hasMany(ImportedFlight::class);
|
||||
|
||||
Reference in New Issue
Block a user