Sort of working beta
This commit is contained in:
@ -4,9 +4,17 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
|
||||
class JobArtifact extends Model
|
||||
{
|
||||
/** @use HasFactory<\Database\Factories\JobArtifactFactory> */
|
||||
use HasFactory;
|
||||
protected $fillable = [
|
||||
"name",
|
||||
"content",
|
||||
];
|
||||
|
||||
public function jobRun(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(JobRun::class);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user