feat(menu): update contact menu to dynamic content type and preserve legacy data for rollback

This commit is contained in:
2026-09-30 13:29:41 -03:00
parent 917f2dff09
commit 77dd0e2715
7 changed files with 149 additions and 116 deletions

View File

@@ -510,7 +510,7 @@ class BootstrapTenantControllerTest extends TestCase
$tenant->menues()->sync([
$parent->code,
$staticChild->code => ['static_content' => $staticContent],
$dynamicChild->code,
$dynamicChild->code => ['static_content' => ['legacy' => 'must not be returned']],
]);
$userRole->menus()->sync([
$parent->code,