From d12fc878bb7d629ba8fc9bd579baf83f1e7fa3f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=86=E3=82=AF=E3=83=8B=E3=82=AB=E3=83=AB=E8=AB=8F?= =?UTF-8?q?=E8=A8=AA=E5=AD=90?= Date: Fri, 1 Oct 2021 12:46:49 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=A2=E3=83=87=E3=83=AB=E3=81=AE=E5=A4=89?= =?UTF-8?q?=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/Models/Child.php | 1 + backend/app/Models/FatherRelation.php | 1 + backend/app/Models/LoginLimits.php | 1 + backend/app/Models/MeetingImage.php | 1 + backend/app/Models/TelActivation.php | 1 + 5 files changed, 5 insertions(+) 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']; }