Made fk key

This commit is contained in:
neerholt
2021-03-03 12:48:49 +01:00
parent 2e8b9f5000
commit fff330705a
6 changed files with 45 additions and 1 deletions
+6
View File
@@ -4,4 +4,10 @@ class GameJam extends Eloquent{
protected $fillable =[
'name', 'startTime', 'endTime', 'keyWord', 'description'
];
public function group(){
return $this->hasMany(Group::class);
}
}