Created
November 4, 2017 06:45
-
-
Save vineeth030/6cfec61577f5a26e716da95b11a71abe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function students() | |
{ | |
return $this->hasMany(Student::class, 'student_id'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment