pollthingy/app/PollVote.php

16 lines
214 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class PollVote extends Model
{
public $timestamps = false;
public function poll()
{
return $this->belongsTo('App\Poll');
}
}