migration up

This commit is contained in:
2024-07-10 14:39:37 +03:00
parent 70b2f7e5cc
commit 3df81597b6
14 changed files with 143 additions and 24 deletions

View File

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