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

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);
}
}