hasMany(SqlPracticeQuestion::class); } public function questions() { return $this->hasMany(SqlPracticeQuestion::class); } }