1
0
Fork 0

Add StoryView Model

This commit is contained in:
Daniel Supernault 2019-01-12 00:45:27 -07:00
parent d5bb6626b3
commit eb652bf339
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 13 additions and 0 deletions

13
app/StoryView.php Normal file
View File

@ -0,0 +1,13 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class StoryView extends Model
{
public function story()
{
return $this->belongsTo(Story::class);
}
}