diff options
author | Marvin Borner | 2018-06-30 23:44:50 +0200 |
---|---|---|
committer | Marvin Borner | 2018-06-30 23:44:50 +0200 |
commit | b1c501e2f239ef6dcbf5e55e403834d793c6a0f6 (patch) | |
tree | 4532adc1e40f0da7580132b2a82c67c946a478f3 /app/Message.php | |
parent | 70233ba2d306019d415b94e270d3a90672236544 (diff) |
Finished websocket integration
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', + ]; +} |