aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Message.php
diff options
context:
space:
mode:
authorMarvin Borner2018-06-30 23:44:50 +0200
committerMarvin Borner2018-06-30 23:44:50 +0200
commitb1c501e2f239ef6dcbf5e55e403834d793c6a0f6 (patch)
tree4532adc1e40f0da7580132b2a82c67c946a478f3 /app/Message.php
parent70233ba2d306019d415b94e270d3a90672236544 (diff)
Finished websocket integration
Diffstat (limited to 'app/Message.php')
-rw-r--r--app/Message.php17
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',
+ ];
+}