entyy_id add to tag migration

This commit is contained in:
2024-11-21 15:53:52 +03:00
parent 62eff81213
commit 1bc7662be0
11 changed files with 22 additions and 0 deletions

View File

@ -74,6 +74,13 @@ class AdminConsoleController extends ConsoleController
);
$this->out->r("create option active_modules", "green");
$this->optionService->createFromParams(
key: "entity_relations",
value: "{}",
label: "Свойства сущностей"
);
$this->out->r("create option entity_relations", "green");
$this->menuService->createItem([
"label" => "Модули",
"url" => "/admin",
@ -116,6 +123,14 @@ class AdminConsoleController extends ConsoleController
]);
$this->out->r("create item menu admin-themes", "green");
$this->menuService->createItem([
"label" => "Меню",
"url" => "/admin/settings/menu",
"slug" => "menu",
"parent_slug" => "settings"
]);
$this->out->r("create item menu admin-themes", "green");
$user = new CreateUserForm();
$user->load([
'username' => 'admin',