Models refactor + Basic functionnalities
Some checks failed
linter / quality (push) Failing after 3m25s
tests / ci (push) Failing after 12m2s

This commit is contained in:
2025-08-26 12:12:02 +02:00
parent 715d2a884a
commit 55a52086c1
49 changed files with 1074 additions and 269 deletions

View File

@@ -15,6 +15,8 @@ class ResumeComponentInput extends Pivot
/** @use HasFactory<\Database\Factories\ResumeComponentFactory> */
use HasFactory;
protected $table = 'resume_component_inputs';
protected $fillable = [
'resume_component_id',
'resume_component_data_type_id',
@@ -34,6 +36,6 @@ class ResumeComponentInput extends Pivot
public function dataType(): BelongsTo
{
return $this->belongsTo(ResumeComponentDataType::class);
return $this->belongsTo(ResumeComponentDataType::class, 'resume_component_data_type_id');
}
}