aboutsummaryrefslogtreecommitdiffhomepage
path: root/api/Posts/Models/TextPost.php
diff options
context:
space:
mode:
Diffstat (limited to 'api/Posts/Models/TextPost.php')
-rw-r--r--api/Posts/Models/TextPost.php28
1 files changed, 0 insertions, 28 deletions
diff --git a/api/Posts/Models/TextPost.php b/api/Posts/Models/TextPost.php
deleted file mode 100644
index 30593a1..0000000
--- a/api/Posts/Models/TextPost.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
-namespace Api\Posts\Models;
-
-use Laravel\Passport\HasApiTokens;
-use Illuminate\Notifications\Notifiable;
-use Illuminate\Database\Eloquent\Model;
-
-class TextPost extends Model
-{
- use HasApiTokens, Notifiable;
-
- protected $table = "text_posts";
-
- /**
- * The attributes that are mass assignable.
- *
- * @var array
- */
- protected $fillable = [
- 'description', 'text'
- ];
-
- public function post()
- {
- return $this->belongsTo('Api\Posts\Models\Post');
- }
-}