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 KeyWord extends Eloquent{
protected $fillable =[
'keyWord'
];
public function group(){
return $this->hasOne(Group::class);
}
}