feat: introduce multi-tenancy by adding a structures table, structure_id to key models, and updating seeders for structure management.

This commit is contained in:
jeremy bayse
2026-02-21 20:38:40 +01:00
parent 6a3de5847d
commit abca346b3e
7 changed files with 122 additions and 40 deletions

View File

@@ -8,4 +8,6 @@ use App\Traits\BelongsToStructure;
class Role extends SpatieRole
{
use BelongsToStructure;
protected $fillable = ['name', 'guard_name', 'structure_id'];
}