diff options
Diffstat (limited to 'app/Message.php')
-rw-r--r-- | app/Message.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/Message.php b/app/Message.php new file mode 100644 index 0000000..79a1afd --- /dev/null +++ b/app/Message.php @@ -0,0 +1,17 @@ +<?php + +namespace App; + +use Illuminate\Database\Eloquent\Model; + +class Message extends Model +{ + /** + * The attributes that are mass assignable. + * + * @var array + */ + protected $fillable = [ + 'user_id', 'message', + ]; +} |