Fix Dutch model table names and seeder status values
- Add explicit $table property to all Eloquent models with Dutch names - Fix pivot table names in belongsToMany relationships - Fix seeder: use valid enum values for afhankelijkheden status Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -11,6 +11,8 @@ class Document extends Model
|
||||
{
|
||||
use SoftDeletes;
|
||||
|
||||
protected $table = 'documents';
|
||||
|
||||
protected $fillable = [
|
||||
'project_id',
|
||||
'fase_id',
|
||||
@@ -46,6 +48,6 @@ class Document extends Model
|
||||
|
||||
public function tags(): BelongsToMany
|
||||
{
|
||||
return $this->belongsToMany(Tag::class);
|
||||
return $this->belongsToMany(Tag::class, 'document_tag');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user