10 lines
184 B
PHP
10 lines
184 B
PHP
|
<?php
|
||
|
namespace Models;
|
||
|
|
||
|
use \Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
class Upvote extends Model {
|
||
|
protected $table = 'Upvotes';
|
||
|
protected $fillable = ['answer_id', 'user_id'];
|
||
|
|
||
|
}
|