diff --git a/backend/app/Models/Child.php b/backend/app/Models/Child.php index 78c3caf5..db2839ad 100644 --- a/backend/app/Models/Child.php +++ b/backend/app/Models/Child.php @@ -8,4 +8,5 @@ use Illuminate\Database\Eloquent\Model; class Child extends Model { use HasFactory; + protected $fillable = ['father_id', 'title', 'text', 'memo', 'pdf']; } diff --git a/backend/app/Models/FatherRelation.php b/backend/app/Models/FatherRelation.php index 616b55c7..48e99a9d 100644 --- a/backend/app/Models/FatherRelation.php +++ b/backend/app/Models/FatherRelation.php @@ -8,4 +8,5 @@ use Illuminate\Database\Eloquent\Model; class FatherRelation extends Model { use HasFactory; + protected $fillable = ['father_id', 'child_id', 'hire_at']; } diff --git a/backend/app/Models/LoginLimits.php b/backend/app/Models/LoginLimits.php index babc81c4..6e9b5e0d 100644 --- a/backend/app/Models/LoginLimits.php +++ b/backend/app/Models/LoginLimits.php @@ -8,4 +8,5 @@ use Illuminate\Database\Eloquent\Model; class LoginLimits extends Model { use HasFactory; + protected $fillable = ['user_agent', 'fail_number']; } diff --git a/backend/app/Models/MeetingImage.php b/backend/app/Models/MeetingImage.php index 94db912d..e884c5b2 100644 --- a/backend/app/Models/MeetingImage.php +++ b/backend/app/Models/MeetingImage.php @@ -8,4 +8,5 @@ use Illuminate\Database\Eloquent\Model; class MeetingImage extends Model { use HasFactory; + protected $fillable = ['meeting_id', 'image']; } diff --git a/backend/app/Models/TelActivation.php b/backend/app/Models/TelActivation.php index 5ba75240..1f60ba93 100644 --- a/backend/app/Models/TelActivation.php +++ b/backend/app/Models/TelActivation.php @@ -8,4 +8,5 @@ use Illuminate\Database\Eloquent\Model; class TelActivation extends Model { use HasFactory; + protected $fillable = ['tel', 'token']; }