Setting up multi-tenancy with Filament’s implementation
- To set up multi-tenancy with Filament Panels and Filament’s multi-tenancy implementation, first set up multi-tenancy in Filament per Filament’s instructions.
-
After setting up tenancy in Filament, run the
AddTenancycommand:This command will add and run the necessary migrations to finishing setting up multi-tenancy in Advanced Tables.
Setting up multi-tenancy with a third party implementation
-
To set up multi-tenancy with Filament Panels and Spatie Multi-tenancy or Tenancy For Laravel you will need to pass your
Tenant::classto the->tenant()method of theAdvancedTablesPluginobject: -
After setting up tenancy, run the
AddTenancycommand:This command will add and run the necessary migrations to finishing setting up multi-tenancy in Advanced Tables.
Setting up multi-tenancy in Filament’s standalone Table Builder with a third party implementation
-
To set up multi-tenancy with Filament’s standalone Table Builder along with Spatie Multi-tenancy or Tenancy For Laravel you will need to add your
Tenant::classto youradvanced-tables.phpconfig file: -
After you have configured your tenant model, you may proceed to run the
AddTenancycommand:This command will add and run the necessary migrations to finishing setting up multi-tenancy in Advanced Tables.