Refactor request validation to use model-specific prop synchronization and add migrations for categories and brands

This commit is contained in:
2026-06-24 11:02:35 -03:00
parent 8d840d94a0
commit e4139d48aa
12 changed files with 136 additions and 11 deletions

View File

@@ -59,7 +59,7 @@ class UpdateTenantRequest extends FormRequest
'max:255',
Rule::unique('tenants', 'dominio')->ignore($tenant?->id),
],
...PropRules::sync(),
...PropRules::sync(Tenant::class),
];
}
}