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

View File

@@ -48,4 +48,8 @@ class Structure extends Model
'reinforce_weekday',
'unanchors_at',
];
public function services() {
return $this->hasMany('App\Models\Structure\Service', 'structure_id', 'structure_id');
}
}