This commit is contained in:
2024-07-09 16:08:50 +03:00
parent 2c199f1ce1
commit e588866a92
13 changed files with 219 additions and 186 deletions

View File

@ -4,7 +4,7 @@ namespace app\models;
use \Illuminate\Database\Eloquent\Model;
class Answer extends Model {
protected $table = 'Answers';
protected $table = 'AnswerController';
protected $fillable = ['answer','user_id','question_id'];
public function upvotes()