kopia lustrzana https://github.com/pixelfed/pixelfed
14 wiersze
170 B
PHP
14 wiersze
170 B
PHP
|
<?php
|
||
|
|
||
|
namespace App;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
class StoryView extends Model
|
||
|
{
|
||
|
public function story()
|
||
|
{
|
||
|
return $this->belongsTo(Story::class);
|
||
|
}
|
||
|
}
|