created new migration for future projects
This commit is contained in:
@@ -25,4 +25,8 @@ class Service extends Model
|
||||
'name',
|
||||
'state',
|
||||
];
|
||||
|
||||
public function structure() {
|
||||
return $this->hasOne('App\Models\Structure\Structure', 'structure_id', 'structure_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user