add migration provider table

This commit is contained in:
2026-05-13 09:44:57 +07:00
parent 7a72e6674f
commit a4a48014e1
3 changed files with 88 additions and 0 deletions

View File

@@ -118,4 +118,9 @@ class Organization extends Model
{
return $this->hasOne(ClaimHistoryCare::class, 'organization_id', 'id');
}
public function providers()
{
return $this->hasMany(Provider::class, 'organization_id', 'id');
}
}