created new migration for future projects

This commit is contained in:
2020-05-10 17:48:16 -05:00
parent 09f9e39e8b
commit 1d19732eeb
7 changed files with 43 additions and 4 deletions
+4
View File
@@ -25,4 +25,8 @@ class Service extends Model
'name',
'state',
];
public function structure() {
return $this->hasOne('App\Models\Structure\Structure', 'structure_id', 'structure_id');
}
}