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

@@ -21,7 +21,6 @@ class TenantController extends Controller
{
$validated = $request->validated();
$props = $validated['props'] ?? [];
unset($validated['props']);
$tenant = Tenant::createWithProps($validated, $props);