Skip to content

Commit 39de1eb

Browse files
Remove type
1 parent 671b5fd commit 39de1eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Models/Family.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class Family extends Model
88
{
9-
protected $fillable = ['description', 'is_active', 'husband_id', 'wife_id', 'type_id', 'chan', 'nchi', 'rin'];
9+
protected $fillable = ['description', 'is_active', 'husband_id', 'wife_id', 'chan', 'nchi', 'rin'];
1010

1111
protected $attributes = ['is_active' => false];
1212

src/Utils/GedcomParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ private function getFamily($family)
460460

461461
$family = Family::on($this->conn)->updateOrCreate(
462462
compact('husband_id', 'wife_id'),
463-
compact('husband_id', 'wife_id', 'description', 'type_id', 'nchi', 'rin')
463+
compact('husband_id', 'wife_id', 'description', 'nchi', 'rin')
464464
);
465465

466466
if ($children !== null) {

0 commit comments

Comments
 (0)