- Added client_id field to StoreTenantRequest and UpdateTenantRequest for tenant management. - Updated TenantResource to include client_id in the response. - Created migration to establish clients table and link tenants to clients. - Migrated existing tenant integrations to client_integrations table. - Grouped specific tenants under a shared client (OnTicket) in a new migration. - Updated seeders to reflect new client structure and relationships. - Adjusted integration configurations to require client instead of tenant. - Added tests for client integration functionality and ensured existing tests reflect the new client structure.
7 lines
155 B
PHP
7 lines
155 B
PHP
<?php
|
|
|
|
use App\Domains\Client\Controllers\ClientController;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
Route::apiResource('clients', ClientController::class);
|