From 44dcc92530745399035036a1e953f5adf8e30850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20Gy=C3=B6rkis?= <tamasgyorkis@gmail.com> Date: Sat, 19 Nov 2022 10:12:59 +0100 Subject: [PATCH] =?UTF-8?q?Game=20mez=C5=91k=20kit=C3=B6lt=C3=A9s=C3=A9nek?= =?UTF-8?q?=20enged=C3=A9lyez=C3=A9se?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- picquiz/app/Models/Game.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/picquiz/app/Models/Game.php b/picquiz/app/Models/Game.php index d18a40f..f6781d4 100644 --- a/picquiz/app/Models/Game.php +++ b/picquiz/app/Models/Game.php @@ -8,4 +8,9 @@ use Illuminate\Database\Eloquent\Model; class Game extends Model { use HasFactory; + protected $fillable = [ + 'picture', + 'answer', + 'user_added' + ]; }