summaryrefslogtreecommitdiff
path: root/ssh/app/Discussion.php
diff options
context:
space:
mode:
Diffstat (limited to 'ssh/app/Discussion.php')
-rw-r--r--ssh/app/Discussion.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/ssh/app/Discussion.php b/ssh/app/Discussion.php
deleted file mode 100644
index facb847..0000000
--- a/ssh/app/Discussion.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-namespace App;
-
-use Illuminate\Database\Eloquent\Model;
-
-class Discussion extends Model
-{
- protected $table = "discussion";
- protected $fillable = [
- 'article_id',
- 'title',
- 'source',
- 'item_id',
- 'source_url',
- 'posted_on',
- 'comments',
- 'upvotes'
- ];
-
- public function getArticle() {
- $this->belongsTo('App\Article');
- }
-}