Refactor request validation to use model-specific prop synchronization and add migrations for categories and brands
This commit is contained in:
@@ -59,7 +59,7 @@ class UpdateTenantRequest extends FormRequest
|
||||
'max:255',
|
||||
Rule::unique('tenants', 'dominio')->ignore($tenant?->id),
|
||||
],
|
||||
...PropRules::sync(),
|
||||
...PropRules::sync(Tenant::class),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user