-- https://www.phpmyadmin.net/
--
-- Хост: 127.0.0.1:3306
-- Время создания: Ноя 04 2019 г., 17:49
-- Версия сервера: 10.3.13-MariaDB-log
-- Версия PHP: 7.1.32

START TRANSACTION;



--
-- База данных: `trest12`
--

-- --------------------------------------------------------

--
-- Структура таблицы `article`
--

CREATE TABLE `article` (
  `id` int(11) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `title` varchar(512) NOT NULL,
  `body` text NOT NULL,
  `view` varchar(255) DEFAULT NULL,
  `category_id` int(11) DEFAULT NULL,
  `thumbnail_base_url` varchar(1024) DEFAULT NULL,
  `thumbnail_path` varchar(1024) DEFAULT NULL,
  `status` smallint(6) NOT NULL DEFAULT 0,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `published_at` int(11) DEFAULT NULL,
  `created_at` int(11) DEFAULT NULL,
  `updated_at` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Дамп данных таблицы `article`
--

INSERT INTO `article` (`id`, `slug`, `title`, `body`, `view`, `category_id`, `thumbnail_base_url`, `thumbnail_path`, `status`, `created_by`, `updated_by`, `published_at`, `created_at`, `updated_at`) VALUES
(1, 'test', 'test', '<p>test</p>', '', 1, 'http://storage.trest12.lan/source', '\\1\\hbKVmOi0ri0SWUlHh7h8lSd0FwNASVlL.jpg', 1, 1, 1, 1572868674, 1572868745, 1572875499);

-- --------------------------------------------------------

--
-- Структура таблицы `article_attachment`
--

CREATE TABLE `article_attachment` (
  `id` int(11) NOT NULL,
  `article_id` int(11) NOT NULL,
  `path` varchar(255) NOT NULL,
  `base_url` varchar(255) DEFAULT NULL,
  `type` varchar(255) DEFAULT NULL,
  `size` int(11) DEFAULT NULL,
  `name` varchar(255) DEFAULT NULL,
  `created_at` int(11) DEFAULT NULL,
  `order` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Дамп данных таблицы `article_attachment`
--

INSERT INTO `article_attachment` (`id`, `article_id`, `path`, `base_url`, `type`, `size`, `name`, `created_at`, `order`) VALUES
(1, 1, '\\1\\6aHlciSZZrSohTDrVJb2S9i8QFWWNjl9.jpg', 'http://storage.trest12.lan/source', 'image/jpeg', 929481, 'Без имени-1.jpg', 1572875499, NULL),
(2, 1, '\\1\\CN52CpxWWCEkQG9Xg-Pm4ksmVXuCx1L6.xlsx', 'http://storage.trest12.lan/source', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 26523, 'Форма постановки планов 2017 Фильчагин С.В..xlsx', 1572875499, NULL);

-- --------------------------------------------------------

--
-- Структура таблицы `article_category`
--

CREATE TABLE `article_category` (
  `id` int(11) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `title` varchar(512) NOT NULL,
  `body` text DEFAULT NULL,
  `parent_id` int(11) DEFAULT NULL,
  `status` smallint(6) NOT NULL DEFAULT 0,
  `created_at` int(11) DEFAULT NULL,
  `updated_at` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Дамп данных таблицы `article_category`
--

INSERT INTO `article_category` (`id`, `slug`, `title`, `body`, `parent_id`, `status`, `created_at`, `updated_at`) VALUES
(1, 'news', 'News', NULL, NULL, 1, 1572415019, NULL);

-- --------------------------------------------------------

--
-- Структура таблицы `file_storage_item`
--

CREATE TABLE `file_storage_item` (
  `id` int(11) NOT NULL,
  `component` varchar(255) NOT NULL,
  `base_url` varchar(1024) NOT NULL,
  `path` varchar(1024) NOT NULL,
  `type` varchar(255) DEFAULT NULL,
  `size` int(11) DEFAULT NULL,
  `name` varchar(255) DEFAULT NULL,
  `upload_ip` varchar(15) DEFAULT NULL,
  `created_at` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Дамп данных таблицы `file_storage_item`
--

INSERT INTO `file_storage_item` (`id`, `component`, `base_url`, `path`, `type`, `size`, `name`, `upload_ip`, `created_at`) VALUES
(1, 'fileStorage', 'http://storage.trest12.lan/source', '\\1\\ZNF83aRrZ1dgMqErKtBsknfArS23ZgVk.jpg', 'image/jpeg', 929481, 'ZNF83aRrZ1dgMqErKtBsknfArS23ZgVk', '127.0.0.1', 1572854951),
(2, 'fileStorage', 'http://storage.trest12.lan/source', '\\1\\H5avYGmEEzSHFKh6nEY2HwNDDJex7BwU.jpg', 'image/jpeg', 929481, 'H5avYGmEEzSHFKh6nEY2HwNDDJex7BwU', '127.0.0.1', 1572857973),
(3, 'fileStorage', 'http://storage.trest12.lan/source', '\\1\\LBkVTgWymVfjEcO0SVLx1l8hAedY5Teh.jpg', 'image/jpeg', 929481, 'LBkVTgWymVfjEcO0SVLx1l8hAedY5Teh', '127.0.0.1', 1572857977),
(5, 'fileStorage', 'http://storage.trest12.lan/source', '\\1\\o9SNXle-L_kBAU2TrEHrYZFcSykFVk-6.jpg', 'image/jpeg', 929481, 'o9SNXle-L_kBAU2TrEHrYZFcSykFVk-6', '127.0.0.1', 1572868484),
(6, 'fileStorage', 'http://storage.trest12.lan/source', '\\1\\hbKVmOi0ri0SWUlHh7h8lSd0FwNASVlL.jpg', 'image/jpeg', 929481, 'hbKVmOi0ri0SWUlHh7h8lSd0FwNASVlL', '127.0.0.1', 1572868615),
(7, 'fileStorage', 'http://storage.trest12.lan/source', '/1/8dXOAwNJ9F9u6uPul3Axd3Q3Prm4i1RN.jpg', 'image/jpeg', 929481, '8dXOAwNJ9F9u6uPul3Axd3Q3Prm4i1RN', '127.0.0.1', 1572870630),
(8, 'fileStorage', 'http://storage.trest12.lan/source', '\\1\\6aHlciSZZrSohTDrVJb2S9i8QFWWNjl9.jpg', 'image/jpeg', 929481, '6aHlciSZZrSohTDrVJb2S9i8QFWWNjl9', '127.0.0.1', 1572875487),
(9, 'fileStorage', 'http://storage.trest12.lan/source', '\\1\\sxsdF9V1ULtY_bCaIoByURM_Y7ZbYke0.xlsx', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 26608, 'sxsdF9V1ULtY_bCaIoByURM_Y7ZbYke0', '127.0.0.1', 1572875495),
(10, 'fileStorage', 'http://storage.trest12.lan/source', '\\1\\CN52CpxWWCEkQG9Xg-Pm4ksmVXuCx1L6.xlsx', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 26523, 'CN52CpxWWCEkQG9Xg-Pm4ksmVXuCx1L6', '127.0.0.1', 1572875498);

-- --------------------------------------------------------

--
-- Структура таблицы `i18n_message`
--

CREATE TABLE `i18n_message` (
  `id` int(11) NOT NULL,
  `language` varchar(16) NOT NULL,
  `translation` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Структура таблицы `i18n_source_message`
--

CREATE TABLE `i18n_source_message` (
  `id` int(11) NOT NULL,
  `category` varchar(32) DEFAULT NULL,
  `message` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Структура таблицы `links`
--

CREATE TABLE `links` (
  `id` int(11) NOT NULL,
  `name` varchar(512) NOT NULL,
  `link` varchar(512) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Структура таблицы `list_page`
--

CREATE TABLE `list_page` (
  `id` int(11) NOT NULL,
  `title` varchar(512) NOT NULL,
  `desc` text NOT NULL,
  `items` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Структура таблицы `menu`
--

CREATE TABLE `menu` (
  `id` int(11) NOT NULL,
  `sort_id` int(11) NOT NULL,
  `parent_id` int(11) DEFAULT NULL,
  `name` varchar(512) NOT NULL,
  `link` varchar(512) NOT NULL,
  `state` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Дамп данных таблицы `menu`
--

INSERT INTO `menu` (`id`, `sort_id`, `parent_id`, `name`, `link`, `state`) VALUES
(1, 2, NULL, 'Главная', '', 1),
(2, 1, NULL, 'О нас', '', 1),
(3, 3, 1, 'Контакты', '', 1),
(4, 4, 3, 'Адрес1', '', 1);

-- --------------------------------------------------------

--
-- Структура таблицы `page`
--

CREATE TABLE `page` (
  `id` int(11) NOT NULL,
  `slug` varchar(2048) NOT NULL,
  `title` varchar(512) NOT NULL,
  `body` text NOT NULL,
  `view` varchar(255) DEFAULT NULL,
  `status` smallint(6) NOT NULL,
  `created_at` int(11) DEFAULT NULL,
  `updated_at` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Дамп данных таблицы `page`
--

INSERT INTO `page` (`id`, `slug`, `title`, `body`, `view`, `status`, `created_at`, `updated_at`) VALUES
(1, 'about', 'About', '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>', 'view2', 1, 1572415019, 1572875418);

-- --------------------------------------------------------

--
-- Структура таблицы `rbac_auth_assignment`
--

CREATE TABLE `rbac_auth_assignment` (
  `item_name` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `user_id` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `created_at` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Дамп данных таблицы `rbac_auth_assignment`
--

INSERT INTO `rbac_auth_assignment` (`item_name`, `user_id`, `created_at`) VALUES
('administrator', '1', 1572415027),
('manager', '2', 1572415027),
('user', '3', 1572415027);

-- --------------------------------------------------------

--
-- Структура таблицы `rbac_auth_item`
--

CREATE TABLE `rbac_auth_item` (
  `name` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `type` smallint(6) NOT NULL,
  `description` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `rule_name` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL,
  `data` blob DEFAULT NULL,
  `created_at` int(11) DEFAULT NULL,
  `updated_at` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Дамп данных таблицы `rbac_auth_item`
--

INSERT INTO `rbac_auth_item` (`name`, `type`, `description`, `rule_name`, `data`, `created_at`, `updated_at`) VALUES
('administrator', 1, NULL, NULL, NULL, 1572415027, 1572415027),
('editOwnModel', 2, NULL, 'ownModelRule', NULL, 1572415028, 1572415028),
('loginToBackend', 2, NULL, NULL, NULL, 1572415028, 1572415028),
('manager', 1, NULL, NULL, NULL, 1572415026, 1572415026),
('user', 1, NULL, NULL, NULL, 1572415026, 1572415026);

-- --------------------------------------------------------

--
-- Структура таблицы `rbac_auth_item_child`
--

CREATE TABLE `rbac_auth_item_child` (
  `parent` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `child` varchar(64) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Дамп данных таблицы `rbac_auth_item_child`
--

INSERT INTO `rbac_auth_item_child` (`parent`, `child`) VALUES
('administrator', 'loginToBackend'),
('administrator', 'manager'),
('administrator', 'user'),
('manager', 'loginToBackend'),
('manager', 'user'),
('user', 'editOwnModel');

-- --------------------------------------------------------

--
-- Структура таблицы `rbac_auth_rule`
--

CREATE TABLE `rbac_auth_rule` (
  `name` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `data` blob DEFAULT NULL,
  `created_at` int(11) DEFAULT NULL,
  `updated_at` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Дамп данных таблицы `rbac_auth_rule`
--

INSERT INTO `rbac_auth_rule` (`name`, `data`, `created_at`, `updated_at`) VALUES
('ownModelRule', 0x[BLOB], 1572415028, 1572415028);

-- --------------------------------------------------------

--
-- Структура таблицы `system_db_migration`
--

CREATE TABLE `system_db_migration` (
  `version` varchar(180) NOT NULL,
  `apply_time` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Дамп данных таблицы `system_db_migration`
--

INSERT INTO `system_db_migration` (`version`, `apply_time`) VALUES
('m000000_000000_base', 1572414913),
('m140703_123000_user', 1572415003),
('m140703_123055_log', 1572415003),
('m140703_123104_page', 1572415004),
('m140703_123803_article', 1572415008),
('m140703_123813_rbac', 1572415010),
('m140709_173306_widget_menu', 1572415010),
('m140709_173333_widget_text', 1572415010),
('m140712_123329_widget_carousel', 1572415012),
('m140805_084745_key_storage_item', 1572415013),
('m141012_101932_i18n_tables', 1572415015),
('m150318_213934_file_storage_item', 1572415015),
('m150414_195800_timeline_event', 1572415016),
('m150725_192740_seed_data', 1572415019),
('m150929_074021_article_attachment_order', 1572415019),
('m160203_095604_user_token', 1572415019),
('m190130_155645_add_article_slug_index', 1572415022);

-- --------------------------------------------------------

--
-- Структура таблицы `system_log`
--

CREATE TABLE `system_log` (
  `id` bigint(20) NOT NULL,
  `level` int(11) DEFAULT NULL,
  `category` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `log_time` double DEFAULT NULL,
  `prefix` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `message` text COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Дамп данных таблицы `system_log`
--

INSERT INTO `system_log` (`id`, `level`, `category`, `log_time`, `prefix`, `message`) VALUES
(1, 1, 'yii\\base\\ViewNotFoundException', 1572430842.9528, '[backend][/menu]', 'yii\\base\\ViewNotFoundException: The view file does not exist: C:\\OSPanel\\domains\\trest12.lan\\backend\\views\\menu\\index.php in C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php:233\nStack trace:\n#0 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(156): yii\\base\\View->renderFile(\'C:\\\\OSPanel\\\\doma...\', Array, Object(backend\\controllers\\MenuController))\n#1 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(384): yii\\base\\View->render(\'index\', Array, Object(backend\\controllers\\MenuController))\n#2 C:\\OSPanel\\domains\\trest12.lan\\backend\\controllers\\MenuController.php(42): yii\\base\\Controller->render(\'index\', Array)\n#3 [internal function]: backend\\controllers\\MenuController->actionIndex()\n#4 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\InlineAction.php(57): call_user_func_array(Array, Array)\n#5 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(157): yii\\base\\InlineAction->runWithParams(Array)\n#6 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Module.php(528): yii\\base\\Controller->runAction(\'\', Array)\n#7 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Application.php(103): yii\\base\\Module->runAction(\'menu\', Array)\n#8 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(386): yii\\web\\Application->handleRequest(Object(yii\\web\\Request))\n#9 C:\\OSPanel\\domains\\trest12.lan\\backend\\web\\index.php(23): yii\\base\\Application->run()\n#10 {main}'),
(2, 1, 'yii\\base\\ViewNotFoundException', 1572430921.5738, '[backend][/menu]', 'yii\\base\\ViewNotFoundException: The view file does not exist: C:\\OSPanel\\domains\\trest12.lan\\backend\\views\\menu\\index.php in C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php:233\nStack trace:\n#0 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(156): yii\\base\\View->renderFile(\'C:\\\\OSPanel\\\\doma...\', Array, Object(backend\\controllers\\MenuController))\n#1 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(384): yii\\base\\View->render(\'index\', Array, Object(backend\\controllers\\MenuController))\n#2 C:\\OSPanel\\domains\\trest12.lan\\backend\\controllers\\MenuController.php(42): yii\\base\\Controller->render(\'index\', Array)\n#3 [internal function]: backend\\controllers\\MenuController->actionIndex()\n#4 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\InlineAction.php(57): call_user_func_array(Array, Array)\n#5 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(157): yii\\base\\InlineAction->runWithParams(Array)\n#6 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Module.php(528): yii\\base\\Controller->runAction(\'\', Array)\n#7 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Application.php(103): yii\\base\\Module->runAction(\'menu\', Array)\n#8 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(386): yii\\web\\Application->handleRequest(Object(yii\\web\\Request))\n#9 C:\\OSPanel\\domains\\trest12.lan\\backend\\web\\index.php(23): yii\\base\\Application->run()\n#10 {main}'),
(3, 1, 'yii\\base\\ErrorException:8192', 1572521059.5092, '[backend][/menu/update?id=3]', 'yii\\base\\ErrorException: Non-static method common\\models\\Menu::getMenuItems() should not be called statically in C:\\OSPanel\\domains\\trest12.lan\\backend\\views\\menu\\_form.php:17\nStack trace:\n#0 C:\\OSPanel\\domains\\trest12.lan\\backend\\views\\menu\\_form.php(17): yii\\base\\ErrorHandler->handleError(8192, \'Non-static meth...\', \'C:\\\\OSPanel\\\\doma...\', 17, Array)\n#1 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(336): require(\'C:\\\\OSPanel\\\\doma...\')\n#2 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(254): yii\\base\\View->renderPhpFile(\'C:\\\\OSPanel\\\\doma...\', Array)\n#3 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(156): yii\\base\\View->renderFile(\'C:\\\\OSPanel\\\\doma...\', Array, NULL)\n#4 C:\\OSPanel\\domains\\trest12.lan\\backend\\views\\menu\\update.php(16): yii\\base\\View->render(\'_form\', Array)\n#5 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(336): require(\'C:\\\\OSPanel\\\\doma...\')\n#6 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(254): yii\\base\\View->renderPhpFile(\'C:\\\\OSPanel\\\\doma...\', Array)\n#7 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(156): yii\\base\\View->renderFile(\'C:\\\\OSPanel\\\\doma...\', Array, Object(backend\\controllers\\MenuController))\n#8 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(384): yii\\base\\View->render(\'update\', Array, Object(backend\\controllers\\MenuController))\n#9 C:\\OSPanel\\domains\\trest12.lan\\backend\\controllers\\MenuController.php(101): yii\\base\\Controller->render(\'update\', Array)\n#10 [internal function]: backend\\controllers\\MenuController->actionUpdate(\'3\')\n#11 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\InlineAction.php(57): call_user_func_array(Array, Array)\n#12 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(157): yii\\base\\InlineAction->runWithParams(Array)\n#13 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Module.php(528): yii\\base\\Controller->runAction(\'update\', Array)\n#14 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Application.php(103): yii\\base\\Module->runAction(\'menu/update\', Array)\n#15 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(386): yii\\web\\Application->handleRequest(Object(yii\\web\\Request))\n#16 C:\\OSPanel\\domains\\trest12.lan\\backend\\web\\index.php(23): yii\\base\\Application->run()\n#17 {main}'),
(4, 1, 'ParseError', 1572845076.9898, '[backend][/menu/submenu?id=1]', 'ParseError: syntax error, unexpected \'[\', expecting \']\' in C:\\OSPanel\\domains\\trest12.lan\\backend\\views\\menu\\index.php:81\nStack trace:\n#0 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(254): yii\\base\\View->renderPhpFile(\'C:\\\\OSPanel\\\\doma...\', Array)\n#1 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(156): yii\\base\\View->renderFile(\'C:\\\\OSPanel\\\\doma...\', Array, Object(backend\\controllers\\MenuController))\n#2 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(384): yii\\base\\View->render(\'index\', Array, Object(backend\\controllers\\MenuController))\n#3 C:\\OSPanel\\domains\\trest12.lan\\backend\\controllers\\MenuController.php(68): yii\\base\\Controller->render(\'index\', Array)\n#4 [internal function]: backend\\controllers\\MenuController->actionSubmenu(\'1\')\n#5 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\InlineAction.php(57): call_user_func_array(Array, Array)\n#6 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(157): yii\\base\\InlineAction->runWithParams(Array)\n#7 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Module.php(528): yii\\base\\Controller->runAction(\'submenu\', Array)\n#8 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Application.php(103): yii\\base\\Module->runAction(\'menu/submenu\', Array)\n#9 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(386): yii\\web\\Application->handleRequest(Object(yii\\web\\Request))\n#10 C:\\OSPanel\\domains\\trest12.lan\\backend\\web\\index.php(23): yii\\base\\Application->run()\n#11 {main}'),
(5, 1, 'yii\\base\\ErrorException:4096', 1572846129.4615, '[backend][/menu/submenu?id=1]', 'yii\\base\\ErrorException: Object of class yii\\grid\\ActionColumn could not be converted to string in C:\\OSPanel\\domains\\trest12.lan\\backend\\views\\menu\\index.php:71\nStack trace:\n#0 C:\\OSPanel\\domains\\trest12.lan\\backend\\views\\menu\\index.php(71): yii\\base\\ErrorHandler->handleError(4096, \'Object of class...\', \'C:\\\\OSPanel\\\\doma...\', 71, Array)\n#1 [internal function]: yii\\base\\View->{closure}(\'view\', Object(common\\models\\Menu), 3, 0, Object(yii\\grid\\ActionColumn))\n#2 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\grid\\ActionColumn.php(200): call_user_func(Object(Closure), \'view\', Object(common\\models\\Menu), 3, 0, Object(yii\\grid\\ActionColumn))\n#3 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\grid\\ActionColumn.php(226): yii\\grid\\ActionColumn->createUrl(\'view\', Object(common\\models\\Menu), 3, 0)\n#4 [internal function]: yii\\grid\\ActionColumn->yii\\grid\\{closure}(Array)\n#5 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\grid\\ActionColumn.php(231): preg_replace_callback(\'/\\\\{([\\\\w\\\\-\\\\/]+)\\\\...\', Object(Closure), \'{view} {update}...\')\n#6 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\grid\\Column.php(111): yii\\grid\\ActionColumn->renderDataCellContent(Object(common\\models\\Menu), 3, 0)\n#7 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\grid\\GridView.php(520): yii\\grid\\Column->renderDataCell(Object(common\\models\\Menu), 3, 0)\n#8 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\grid\\GridView.php(489): yii\\grid\\GridView->renderTableRow(Object(common\\models\\Menu), 3, 0)\n#9 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\grid\\GridView.php(353): yii\\grid\\GridView->renderTableBody()\n#10 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\widgets\\BaseListView.php(160): yii\\grid\\GridView->renderItems()\n#11 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\grid\\GridView.php(321): yii\\widgets\\BaseListView->renderSection(\'{items}\')\n#12 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\widgets\\BaseListView.php(135): yii\\grid\\GridView->renderSection(\'{items}\')\n#13 [internal function]: yii\\widgets\\BaseListView->yii\\widgets\\{closure}(Array)\n#14 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\widgets\\BaseListView.php(138): preg_replace_callback(\'/{\\\\w+}/\', Object(Closure), \'{summary}\\n{item...\')\n#15 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\grid\\GridView.php(296): yii\\widgets\\BaseListView->run()\n#16 C:\\OSPanel\\domains\\trest12.lan\\vendor\\himiklab\\yii2-sortable-grid-view-widget\\SortableGridView.php(33): yii\\grid\\GridView->run()\n#17 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Widget.php(140): himiklab\\sortablegrid\\SortableGridView->run()\n#18 C:\\OSPanel\\domains\\trest12.lan\\backend\\views\\menu\\index.php(92): yii\\base\\Widget::widget(Array)\n#19 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(336): require(\'C:\\\\OSPanel\\\\doma...\')\n#20 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(254): yii\\base\\View->renderPhpFile(\'C:\\\\OSPanel\\\\doma...\', Array)\n#21 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(156): yii\\base\\View->renderFile(\'C:\\\\OSPanel\\\\doma...\', Array, Object(backend\\controllers\\MenuController))\n#22 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(384): yii\\base\\View->render(\'index\', Array, Object(backend\\controllers\\MenuController))\n#23 C:\\OSPanel\\domains\\trest12.lan\\backend\\controllers\\MenuController.php(68): yii\\base\\Controller->render(\'index\', Array)\n#24 [internal function]: backend\\controllers\\MenuController->actionSubmenu(\'1\')\n#25 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\InlineAction.php(57): call_user_func_array(Array, Array)\n#26 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(157): yii\\base\\InlineAction->runWithParams(Array)\n#27 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Module.php(528): yii\\base\\Controller->runAction(\'submenu\', Array)\n#28 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Application.php(103): yii\\base\\Module->runAction(\'menu/submenu\', Array)\n#29 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(386): yii\\web\\Application->handleRequest(Object(yii\\web\\Request))\n#30 C:\\OSPanel\\domains\\trest12.lan\\backend\\web\\index.php(23): yii\\base\\Application->run()\n#31 {main}'),
(6, 1, 'ParseError', 1572846287.5564, '[backend][/menu/submenu]', 'ParseError: syntax error, unexpected \'}\', expecting \']\' in C:\\OSPanel\\domains\\trest12.lan\\backend\\views\\menu\\index.php:70\nStack trace:\n#0 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(254): yii\\base\\View->renderPhpFile(\'C:\\\\OSPanel\\\\doma...\', Array)\n#1 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(156): yii\\base\\View->renderFile(\'C:\\\\OSPanel\\\\doma...\', Array, Object(backend\\controllers\\MenuController))\n#2 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(384): yii\\base\\View->render(\'index\', Array, Object(backend\\controllers\\MenuController))\n#3 C:\\OSPanel\\domains\\trest12.lan\\backend\\controllers\\MenuController.php(68): yii\\base\\Controller->render(\'index\', Array)\n#4 [internal function]: backend\\controllers\\MenuController->actionSubmenu(NULL)\n#5 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\InlineAction.php(57): call_user_func_array(Array, Array)\n#6 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(157): yii\\base\\InlineAction->runWithParams(Array)\n#7 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Module.php(528): yii\\base\\Controller->runAction(\'submenu\', Array)\n#8 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Application.php(103): yii\\base\\Module->runAction(\'menu/submenu\', Array)\n#9 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(386): yii\\web\\Application->handleRequest(Object(yii\\web\\Request))\n#10 C:\\OSPanel\\domains\\trest12.lan\\backend\\web\\index.php(23): yii\\base\\Application->run()\n#11 {main}'),
(7, 1, 'ParseError', 1572846288.6493, '[backend][/menu/submenu]', 'ParseError: syntax error, unexpected \'}\', expecting \']\' in C:\\OSPanel\\domains\\trest12.lan\\backend\\views\\menu\\index.php:70\nStack trace:\n#0 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(254): yii\\base\\View->renderPhpFile(\'C:\\\\OSPanel\\\\doma...\', Array)\n#1 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(156): yii\\base\\View->renderFile(\'C:\\\\OSPanel\\\\doma...\', Array, Object(backend\\controllers\\MenuController))\n#2 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(384): yii\\base\\View->render(\'index\', Array, Object(backend\\controllers\\MenuController))\n#3 C:\\OSPanel\\domains\\trest12.lan\\backend\\controllers\\MenuController.php(68): yii\\base\\Controller->render(\'index\', Array)\n#4 [internal function]: backend\\controllers\\MenuController->actionSubmenu(NULL)\n#5 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\InlineAction.php(57): call_user_func_array(Array, Array)\n#6 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(157): yii\\base\\InlineAction->runWithParams(Array)\n#7 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Module.php(528): yii\\base\\Controller->runAction(\'submenu\', Array)\n#8 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Application.php(103): yii\\base\\Module->runAction(\'menu/submenu\', Array)\n#9 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(386): yii\\web\\Application->handleRequest(Object(yii\\web\\Request))\n#10 C:\\OSPanel\\domains\\trest12.lan\\backend\\web\\index.php(23): yii\\base\\Application->run()\n#11 {main}'),
(8, 1, 'ParseError', 1572846295.4632, '[backend][/menu/submenu]', 'ParseError: syntax error, unexpected \'}\', expecting \']\' in C:\\OSPanel\\domains\\trest12.lan\\backend\\views\\menu\\index.php:70\nStack trace:\n#0 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(254): yii\\base\\View->renderPhpFile(\'C:\\\\OSPanel\\\\doma...\', Array)\n#1 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(156): yii\\base\\View->renderFile(\'C:\\\\OSPanel\\\\doma...\', Array, Object(backend\\controllers\\MenuController))\n#2 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(384): yii\\base\\View->render(\'index\', Array, Object(backend\\controllers\\MenuController))\n#3 C:\\OSPanel\\domains\\trest12.lan\\backend\\controllers\\MenuController.php(68): yii\\base\\Controller->render(\'index\', Array)\n#4 [internal function]: backend\\controllers\\MenuController->actionSubmenu(NULL)\n#5 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\InlineAction.php(57): call_user_func_array(Array, Array)\n#6 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(157): yii\\base\\InlineAction->runWithParams(Array)\n#7 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Module.php(528): yii\\base\\Controller->runAction(\'submenu\', Array)\n#8 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Application.php(103): yii\\base\\Module->runAction(\'menu/submenu\', Array)\n#9 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(386): yii\\web\\Application->handleRequest(Object(yii\\web\\Request))\n#10 C:\\OSPanel\\domains\\trest12.lan\\backend\\web\\index.php(23): yii\\base\\Application->run()\n#11 {main}'),
(9, 1, 'Error', 1572857797.48, '[backend][/content/article/create]', 'Error: Class \'JsExpression\' not found in C:\\OSPanel\\domains\\trest12.lan\\backend\\modules\\content\\views\\article\\_form.php:53\nStack trace:\n#0 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(336): require()\n#1 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(254): yii\\base\\View->renderPhpFile(\'C:\\\\OSPanel\\\\doma...\', Array)\n#2 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(156): yii\\base\\View->renderFile(\'C:\\\\OSPanel\\\\doma...\', Array, NULL)\n#3 C:\\OSPanel\\domains\\trest12.lan\\backend\\modules\\content\\views\\article\\create.php(20): yii\\base\\View->render(\'_form\', Array)\n#4 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(336): require(\'C:\\\\OSPanel\\\\doma...\')\n#5 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(254): yii\\base\\View->renderPhpFile(\'C:\\\\OSPanel\\\\doma...\', Array)\n#6 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(156): yii\\base\\View->renderFile(\'C:\\\\OSPanel\\\\doma...\', Array, Object(backend\\modules\\content\\controllers\\ArticleController))\n#7 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(384): yii\\base\\View->render(\'create\', Array, Object(backend\\modules\\content\\controllers\\ArticleController))\n#8 C:\\OSPanel\\domains\\trest12.lan\\backend\\modules\\content\\controllers\\ArticleController.php(63): yii\\base\\Controller->render(\'create\', Array)\n#9 [internal function]: backend\\modules\\content\\controllers\\ArticleController->actionCreate()\n#10 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\InlineAction.php(57): call_user_func_array(Array, Array)\n#11 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(157): yii\\base\\InlineAction->runWithParams(Array)\n#12 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Module.php(528): yii\\base\\Controller->runAction(\'create\', Array)\n#13 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Application.php(103): yii\\base\\Module->runAction(\'content/article...\', Array)\n#14 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(386): yii\\web\\Application->handleRequest(Object(yii\\web\\Request))\n#15 C:\\OSPanel\\domains\\trest12.lan\\backend\\web\\index.php(23): yii\\base\\Application->run()\n#16 {main}'),
(10, 1, 'yii\\base\\InvalidConfigException', 1572870634.6508, '[frontend][/debug/default/toolbar?tag=5dc019ea1a40e]', 'yii\\base\\InvalidConfigException: yii\\web\\Request::cookieValidationKey must be configured with a secret key. in C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Request.php:1554\nStack trace:\n#0 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Request.php(1536): yii\\web\\Request->loadCookies()\n#1 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\User.php(539): yii\\web\\Request->getCookies()\n#2 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\User.php(709): yii\\web\\User->renewIdentityCookie()\n#3 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\User.php(192): yii\\web\\User->renewAuthStatus()\n#4 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\User.php(360): yii\\web\\User->getIdentity()\n#5 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Component.php(139): yii\\web\\User->getIsGuest()\n#6 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2-debug\\src\\panels\\UserPanel.php(79): yii\\base\\Component->__get(\'isGuest\')\n#7 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\BaseObject.php(109): yii\\debug\\panels\\UserPanel->init()\n#8 [internal function]: yii\\base\\BaseObject->__construct(Array)\n#9 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\di\\Container.php(383): ReflectionClass->newInstanceArgs(Array)\n#10 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\di\\Container.php(156): yii\\di\\Container->build(\'yii\\\\debug\\\\panel...\', Array, Array)\n#11 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\BaseYii.php(349): yii\\di\\Container->get(\'yii\\\\debug\\\\panel...\', Array, Array)\n#12 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2-debug\\src\\Module.php(182): yii\\BaseYii::createObject(Array)\n#13 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2-debug\\src\\Module.php(154): yii\\debug\\Module->initPanels()\n#14 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\BaseObject.php(109): yii\\debug\\Module->init()\n#15 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Module.php(158): yii\\base\\BaseObject->__construct(Array)\n#16 [internal function]: yii\\base\\Module->__construct(\'debug\', Object(yii\\web\\Application), Array)\n#17 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\di\\Container.php(383): ReflectionClass->newInstanceArgs(Array)\n#18 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\di\\Container.php(156): yii\\di\\Container->build(\'yii\\\\debug\\\\Modul...\', Array, Array)\n#19 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\BaseYii.php(349): yii\\di\\Container->get(\'yii\\\\debug\\\\Modul...\', Array, Array)\n#20 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Module.php(427): yii\\BaseYii::createObject(Array, Array)\n#21 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(315): yii\\base\\Module->getModule(\'debug\')\n#22 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Application.php(69): yii\\base\\Application->bootstrap()\n#23 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(273): yii\\web\\Application->bootstrap()\n#24 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\BaseObject.php(109): yii\\base\\Application->init()\n#25 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(206): yii\\base\\BaseObject->__construct(Array)\n#26 C:\\OSPanel\\domains\\trest12.lan\\frontend\\web\\index.php(22): yii\\base\\Application->__construct(Array)\n#27 {main}'),
(11, 1, 'yii\\base\\InvalidConfigException', 1572870656.245, '[frontend][/assets/bde7c846/app.js]', 'yii\\base\\InvalidConfigException: yii\\web\\Request::cookieValidationKey must be configured with a secret key. in C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Request.php:1554\nStack trace:\n#0 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Request.php(1536): yii\\web\\Request->loadCookies()\n#1 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\User.php(539): yii\\web\\Request->getCookies()\n#2 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\User.php(709): yii\\web\\User->renewIdentityCookie()\n#3 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\User.php(192): yii\\web\\User->renewAuthStatus()\n#4 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\User.php(360): yii\\web\\User->getIdentity()\n#5 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Component.php(139): yii\\web\\User->getIsGuest()\n#6 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2-debug\\src\\panels\\UserPanel.php(79): yii\\base\\Component->__get(\'isGuest\')\n#7 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\BaseObject.php(109): yii\\debug\\panels\\UserPanel->init()\n#8 [internal function]: yii\\base\\BaseObject->__construct(Array)\n#9 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\di\\Container.php(383): ReflectionClass->newInstanceArgs(Array)\n#10 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\di\\Container.php(156): yii\\di\\Container->build(\'yii\\\\debug\\\\panel...\', Array, Array)\n#11 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\BaseYii.php(349): yii\\di\\Container->get(\'yii\\\\debug\\\\panel...\', Array, Array)\n#12 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2-debug\\src\\Module.php(182): yii\\BaseYii::createObject(Array)\n#13 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2-debug\\src\\Module.php(154): yii\\debug\\Module->initPanels()\n#14 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\BaseObject.php(109): yii\\debug\\Module->init()\n#15 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Module.php(158): yii\\base\\BaseObject->__construct(Array)\n#16 [internal function]: yii\\base\\Module->__construct(\'debug\', Object(yii\\web\\Application), Array)\n#17 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\di\\Container.php(383): ReflectionClass->newInstanceArgs(Array)\n#18 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\di\\Container.php(156): yii\\di\\Container->build(\'yii\\\\debug\\\\Modul...\', Array, Array)\n#19 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\BaseYii.php(349): yii\\di\\Container->get(\'yii\\\\debug\\\\Modul...\', Array, Array)\n#20 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Module.php(427): yii\\BaseYii::createObject(Array, Array)\n#21 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(315): yii\\base\\Module->getModule(\'debug\')\n#22 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Application.php(69): yii\\base\\Application->bootstrap()\n#23 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(273): yii\\web\\Application->bootstrap()\n#24 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\BaseObject.php(109): yii\\base\\Application->init()\n#25 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(206): yii\\base\\BaseObject->__construct(Array)\n#26 C:\\OSPanel\\domains\\trest12.lan\\frontend\\web\\index.php(22): yii\\base\\Application->__construct(Array)\n#27 {main}'),
(12, 1, 'yii\\base\\InvalidConfigException', 1572875244.7281, '[frontend][/assets/bde7c846/style.css]', 'yii\\base\\InvalidConfigException: yii\\web\\Request::cookieValidationKey must be configured with a secret key. in C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Request.php:1554\nStack trace:\n#0 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Request.php(1536): yii\\web\\Request->loadCookies()\n#1 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\User.php(539): yii\\web\\Request->getCookies()\n#2 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\User.php(709): yii\\web\\User->renewIdentityCookie()\n#3 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\User.php(192): yii\\web\\User->renewAuthStatus()\n#4 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\User.php(360): yii\\web\\User->getIdentity()\n#5 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Component.php(139): yii\\web\\User->getIsGuest()\n#6 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2-debug\\src\\panels\\UserPanel.php(79): yii\\base\\Component->__get(\'isGuest\')\n#7 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\BaseObject.php(109): yii\\debug\\panels\\UserPanel->init()\n#8 [internal function]: yii\\base\\BaseObject->__construct(Array)\n#9 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\di\\Container.php(383): ReflectionClass->newInstanceArgs(Array)\n#10 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\di\\Container.php(156): yii\\di\\Container->build(\'yii\\\\debug\\\\panel...\', Array, Array)\n#11 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\BaseYii.php(349): yii\\di\\Container->get(\'yii\\\\debug\\\\panel...\', Array, Array)\n#12 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2-debug\\src\\Module.php(182): yii\\BaseYii::createObject(Array)\n#13 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2-debug\\src\\Module.php(154): yii\\debug\\Module->initPanels()\n#14 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\BaseObject.php(109): yii\\debug\\Module->init()\n#15 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Module.php(158): yii\\base\\BaseObject->__construct(Array)\n#16 [internal function]: yii\\base\\Module->__construct(\'debug\', Object(yii\\web\\Application), Array)\n#17 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\di\\Container.php(383): ReflectionClass->newInstanceArgs(Array)\n#18 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\di\\Container.php(156): yii\\di\\Container->build(\'yii\\\\debug\\\\Modul...\', Array, Array)\n#19 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\BaseYii.php(349): yii\\di\\Container->get(\'yii\\\\debug\\\\Modul...\', Array, Array)\n#20 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Module.php(427): yii\\BaseYii::createObject(Array, Array)\n#21 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(315): yii\\base\\Module->getModule(\'debug\')\n#22 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Application.php(69): yii\\base\\Application->bootstrap()\n#23 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(273): yii\\web\\Application->bootstrap()\n#24 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\BaseObject.php(109): yii\\base\\Application->init()\n#25 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(206): yii\\base\\BaseObject->__construct(Array)\n#26 C:\\OSPanel\\domains\\trest12.lan\\frontend\\web\\index.php(22): yii\\base\\Application->__construct(Array)\n#27 {main}'),
(13, 1, 'Error', 1572875870.1311, '[backend][/system/information/index]', 'Error: Class \'COM\' not found in C:\\OSPanel\\domains\\trest12.lan\\vendor\\trntv\\probe\\src\\Provider\\WindowsProvider.php:276\nStack trace:\n#0 C:\\OSPanel\\domains\\trest12.lan\\vendor\\trntv\\probe\\src\\Provider\\WindowsProvider.php(175): Probe\\Provider\\WindowsProvider->getWMI()\n#1 C:\\OSPanel\\domains\\trest12.lan\\vendor\\trntv\\probe\\src\\Provider\\WindowsProvider.php(152): Probe\\Provider\\WindowsProvider->getCpuInfo()\n#2 C:\\OSPanel\\domains\\trest12.lan\\backend\\modules\\system\\views\\information\\index.php(33): Probe\\Provider\\WindowsProvider->getCpuModel()\n#3 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(336): require(\'C:\\\\OSPanel\\\\doma...\')\n#4 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(254): yii\\base\\View->renderPhpFile(\'C:\\\\OSPanel\\\\doma...\', Array)\n#5 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\View.php(156): yii\\base\\View->renderFile(\'C:\\\\OSPanel\\\\doma...\', Array, Object(backend\\modules\\system\\controllers\\InformationController))\n#6 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(384): yii\\base\\View->render(\'index\', Array, Object(backend\\modules\\system\\controllers\\InformationController))\n#7 C:\\OSPanel\\domains\\trest12.lan\\backend\\modules\\system\\controllers\\InformationController.php(35): yii\\base\\Controller->render(\'index\', Array)\n#8 [internal function]: backend\\modules\\system\\controllers\\InformationController->actionIndex()\n#9 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\InlineAction.php(57): call_user_func_array(Array, Array)\n#10 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(157): yii\\base\\InlineAction->runWithParams(Array)\n#11 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Module.php(528): yii\\base\\Controller->runAction(\'index\', Array)\n#12 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Application.php(103): yii\\base\\Module->runAction(\'system/informat...\', Array)\n#13 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(386): yii\\web\\Application->handleRequest(Object(yii\\web\\Request))\n#14 C:\\OSPanel\\domains\\trest12.lan\\backend\\web\\index.php(23): yii\\base\\Application->run()\n#15 {main}'),
(14, 1, 'Error', 1572875870.9152, '[backend][/system/information/index?data=cpu_usage]', 'Error: Class \'COM\' not found in C:\\OSPanel\\domains\\trest12.lan\\vendor\\trntv\\probe\\src\\Provider\\WindowsProvider.php:276\nStack trace:\n#0 C:\\OSPanel\\domains\\trest12.lan\\vendor\\trntv\\probe\\src\\Provider\\WindowsProvider.php(250): Probe\\Provider\\WindowsProvider->getWMI()\n#1 C:\\OSPanel\\domains\\trest12.lan\\backend\\modules\\system\\controllers\\InformationController.php(27): Probe\\Provider\\WindowsProvider->getCpuUsage()\n#2 [internal function]: backend\\modules\\system\\controllers\\InformationController->actionIndex()\n#3 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\InlineAction.php(57): call_user_func_array(Array, Array)\n#4 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(157): yii\\base\\InlineAction->runWithParams(Array)\n#5 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Module.php(528): yii\\base\\Controller->runAction(\'index\', Array)\n#6 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Application.php(103): yii\\base\\Module->runAction(\'system/informat...\', Array)\n#7 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(386): yii\\web\\Application->handleRequest(Object(yii\\web\\Request))\n#8 C:\\OSPanel\\domains\\trest12.lan\\backend\\web\\index.php(23): yii\\base\\Application->run()\n#9 {main}'),
(15, 1, 'Error', 1572875871.2178, '[backend][/system/information/index?data=memory_usage]', 'Error: Class \'COM\' not found in C:\\OSPanel\\domains\\trest12.lan\\vendor\\trntv\\probe\\src\\Provider\\WindowsProvider.php:276\nStack trace:\n#0 C:\\OSPanel\\domains\\trest12.lan\\vendor\\trntv\\probe\\src\\Provider\\WindowsProvider.php(187): Probe\\Provider\\WindowsProvider->getWMI()\n#1 C:\\OSPanel\\domains\\trest12.lan\\backend\\modules\\system\\controllers\\InformationController.php(30): Probe\\Provider\\WindowsProvider->getTotalMem()\n#2 [internal function]: backend\\modules\\system\\controllers\\InformationController->actionIndex()\n#3 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\InlineAction.php(57): call_user_func_array(Array, Array)\n#4 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Controller.php(157): yii\\base\\InlineAction->runWithParams(Array)\n#5 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Module.php(528): yii\\base\\Controller->runAction(\'index\', Array)\n#6 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\web\\Application.php(103): yii\\base\\Module->runAction(\'system/informat...\', Array)\n#7 C:\\OSPanel\\domains\\trest12.lan\\vendor\\yiisoft\\yii2\\base\\Application.php(386): yii\\web\\Application->handleRequest(Object(yii\\web\\Request))\n#8 C:\\OSPanel\\domains\\trest12.lan\\backend\\web\\index.php(23): yii\\base\\Application->run()\n#9 {main}');

-- --------------------------------------------------------

--
-- Структура таблицы `system_rbac_migration`
--

CREATE TABLE `system_rbac_migration` (
  `version` varchar(180) NOT NULL,
  `apply_time` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Дамп данных таблицы `system_rbac_migration`
--

INSERT INTO `system_rbac_migration` (`version`, `apply_time`) VALUES
('m000000_000000_base', 1572415023),
('m150625_214101_roles', 1572415028),
('m150625_215624_init_permissions', 1572415028),
('m151223_074604_edit_own_model', 1572415028);

-- --------------------------------------------------------

--
-- Структура таблицы `timeline_event`
--

CREATE TABLE `timeline_event` (
  `id` int(11) NOT NULL,
  `application` varchar(64) NOT NULL,
  `category` varchar(64) NOT NULL,
  `event` varchar(64) NOT NULL,
  `data` text DEFAULT NULL,
  `created_at` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Дамп данных таблицы `timeline_event`
--

INSERT INTO `timeline_event` (`id`, `application`, `category`, `event`, `data`, `created_at`) VALUES
(1, 'frontend', 'user', 'signup', '{\"public_identity\":\"webmaster\",\"user_id\":1,\"created_at\":1572415016}', 1572415016),
(2, 'frontend', 'user', 'signup', '{\"public_identity\":\"manager\",\"user_id\":2,\"created_at\":1572415016}', 1572415016),
(3, 'frontend', 'user', 'signup', '{\"public_identity\":\"user\",\"user_id\":3,\"created_at\":1572415016}', 1572415016);

-- --------------------------------------------------------

--
-- Структура таблицы `user_profile`
--

CREATE TABLE `user_profile` (
  `user_id` int(11) NOT NULL,
  `firstname` varchar(255) DEFAULT NULL,
  `middlename` varchar(255) DEFAULT NULL,
  `lastname` varchar(255) DEFAULT NULL,
  `avatar_path` varchar(255) DEFAULT NULL,
  `avatar_base_url` varchar(255) DEFAULT NULL,
  `locale` varchar(32) NOT NULL,
  `gender` smallint(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Дамп данных таблицы `user_profile`
--

INSERT INTO `user_profile` (`user_id`, `firstname`, `middlename`, `lastname`, `avatar_path`, `avatar_base_url`, `locale`, `gender`) VALUES
(1, 'John', NULL, 'Doe', NULL, NULL, 'en-US', NULL),
(2, NULL, NULL, NULL, NULL, NULL, 'en-US', NULL),
(3, NULL, NULL, NULL, NULL, NULL, 'en-US', NULL);

-- --------------------------------------------------------

--
-- Структура таблицы `widget_carousel_item`
--

CREATE TABLE `widget_carousel_item` (
  `id` int(11) NOT NULL,
  `carousel_id` int(11) NOT NULL,
  `base_url` varchar(1024) DEFAULT NULL,
  `path` varchar(1024) DEFAULT NULL,
  `asset_url` varchar(1024) DEFAULT NULL,
  `type` varchar(255) DEFAULT NULL,
  `url` varchar(1024) DEFAULT NULL,
  `caption` varchar(1024) DEFAULT NULL,
  `status` smallint(6) NOT NULL DEFAULT 0,
  `order` int(11) DEFAULT 0,
  `created_at` int(11) DEFAULT NULL,
  `updated_at` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Дамп данных таблицы `widget_carousel_item`
--

INSERT INTO `widget_carousel_item` (`id`, `carousel_id`, `base_url`, `path`, `asset_url`, `type`, `url`, `caption`, `status`, `order`, `created_at`, `updated_at`) VALUES
(1, 1, 'http://trest12.lan', 'img/yii2-starter-kit.gif', 'http://trest12.lan/img/yii2-starter-kit.gif', 'image/gif', '/', NULL, 1, 0, NULL, NULL);

--
-- Индексы сохранённых таблиц
--

--
-- Индексы таблицы `article`
--
ALTER TABLE `article`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_article_slug` (`slug`),
  ADD KEY `fk_article_author` (`created_by`),
  ADD KEY `fk_article_updater` (`updated_by`),
  ADD KEY `fk_article_category` (`category_id`);

--
-- Индексы таблицы `article_attachment`
--
ALTER TABLE `article_attachment`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_article_attachment_article` (`article_id`);

--
-- Индексы таблицы `article_category`
--
ALTER TABLE `article_category`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_article_category_slug` (`slug`),
  ADD KEY `fk_article_category_section` (`parent_id`);

--
-- Индексы таблицы `file_storage_item`
--
ALTER TABLE `file_storage_item`
  ADD PRIMARY KEY (`id`);

--
-- Индексы таблицы `i18n_message`
--
ALTER TABLE `i18n_message`
  ADD PRIMARY KEY (`id`,`language`);

--
-- Индексы таблицы `i18n_source_message`
--
ALTER TABLE `i18n_source_message`
  ADD PRIMARY KEY (`id`);

--
-- Индексы таблицы `links`
--
ALTER TABLE `links`
  ADD PRIMARY KEY (`id`);

--
-- Индексы таблицы `list_page`
--
ALTER TABLE `list_page`
  ADD PRIMARY KEY (`id`);

--
-- Индексы таблицы `menu`
--
ALTER TABLE `menu`
  ADD PRIMARY KEY (`id`);

--
-- Индексы таблицы `page`
--
ALTER TABLE `page`
  ADD PRIMARY KEY (`id`);

--
-- Индексы таблицы `rbac_auth_assignment`
--
ALTER TABLE `rbac_auth_assignment`
  ADD PRIMARY KEY (`item_name`,`user_id`);

--
-- Индексы таблицы `rbac_auth_item`
--
ALTER TABLE `rbac_auth_item`
  ADD PRIMARY KEY (`name`),
  ADD KEY `rule_name` (`rule_name`),
  ADD KEY `idx-auth_item-type` (`type`);

--
-- Индексы таблицы `rbac_auth_item_child`
--
ALTER TABLE `rbac_auth_item_child`
  ADD PRIMARY KEY (`parent`,`child`),
  ADD KEY `child` (`child`);

--
-- Индексы таблицы `rbac_auth_rule`
--
ALTER TABLE `rbac_auth_rule`
  ADD PRIMARY KEY (`name`);

--
-- Индексы таблицы `system_db_migration`
--
ALTER TABLE `system_db_migration`
  ADD PRIMARY KEY (`version`);

--
-- Индексы таблицы `system_log`
--
ALTER TABLE `system_log`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_log_level` (`level`),
  ADD KEY `idx_log_category` (`category`);

--
-- Индексы таблицы `system_rbac_migration`
--
ALTER TABLE `system_rbac_migration`
  ADD PRIMARY KEY (`version`);

--
-- Индексы таблицы `timeline_event`
--
ALTER TABLE `timeline_event`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_created_at` (`created_at`);

--
-- Индексы таблицы `user_profile`
--
ALTER TABLE `user_profile`
  ADD PRIMARY KEY (`user_id`);

--
-- Индексы таблицы `widget_carousel_item`
--
ALTER TABLE `widget_carousel_item`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_item_carousel` (`carousel_id`);

--
-- AUTO_INCREMENT для сохранённых таблиц
--

--
-- AUTO_INCREMENT для таблицы `article`
--
ALTER TABLE `article`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT для таблицы `article_attachment`
--
ALTER TABLE `article_attachment`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT для таблицы `article_category`
--
ALTER TABLE `article_category`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT для таблицы `file_storage_item`
--
ALTER TABLE `file_storage_item`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT для таблицы `i18n_source_message`
--
ALTER TABLE `i18n_source_message`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `links`
--
ALTER TABLE `links`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `list_page`
--
ALTER TABLE `list_page`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `menu`
--
ALTER TABLE `menu`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT для таблицы `page`
--
ALTER TABLE `page`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT для таблицы `system_log`
--
ALTER TABLE `system_log`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT для таблицы `timeline_event`
--
ALTER TABLE `timeline_event`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT для таблицы `user_profile`
--
ALTER TABLE `user_profile`
  MODIFY `user_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT для таблицы `widget_carousel_item`
--
ALTER TABLE `widget_carousel_item`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- Ограничения внешнего ключа сохраненных таблиц
--

--
-- Ограничения внешнего ключа таблицы `article`
--
ALTER TABLE `article`
  ADD CONSTRAINT `fk_article_author` FOREIGN KEY (`created_by`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_article_category` FOREIGN KEY (`category_id`) REFERENCES `article_category` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_article_updater` FOREIGN KEY (`updated_by`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE CASCADE;

--
-- Ограничения внешнего ключа таблицы `article_attachment`
--
ALTER TABLE `article_attachment`
  ADD CONSTRAINT `fk_article_attachment_article` FOREIGN KEY (`article_id`) REFERENCES `article` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Ограничения внешнего ключа таблицы `article_category`
--
ALTER TABLE `article_category`
  ADD CONSTRAINT `fk_article_category_section` FOREIGN KEY (`parent_id`) REFERENCES `article_category` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Ограничения внешнего ключа таблицы `i18n_message`
--
ALTER TABLE `i18n_message`
  ADD CONSTRAINT `fk_i18n_message_source_message` FOREIGN KEY (`id`) REFERENCES `i18n_source_message` (`id`) ON DELETE CASCADE;

--
-- Ограничения внешнего ключа таблицы `rbac_auth_assignment`
--
ALTER TABLE `rbac_auth_assignment`
  ADD CONSTRAINT `rbac_auth_assignment_ibfk_1` FOREIGN KEY (`item_name`) REFERENCES `rbac_auth_item` (`name`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Ограничения внешнего ключа таблицы `rbac_auth_item`
--
ALTER TABLE `rbac_auth_item`
  ADD CONSTRAINT `rbac_auth_item_ibfk_1` FOREIGN KEY (`rule_name`) REFERENCES `rbac_auth_rule` (`name`) ON DELETE SET NULL ON UPDATE CASCADE;

--
-- Ограничения внешнего ключа таблицы `rbac_auth_item_child`
--
ALTER TABLE `rbac_auth_item_child`
  ADD CONSTRAINT `rbac_auth_item_child_ibfk_1` FOREIGN KEY (`parent`) REFERENCES `rbac_auth_item` (`name`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `rbac_auth_item_child_ibfk_2` FOREIGN KEY (`child`) REFERENCES `rbac_auth_item` (`name`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Ограничения внешнего ключа таблицы `user_profile`
--
ALTER TABLE `user_profile`
  ADD CONSTRAINT `fk_user` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Ограничения внешнего ключа таблицы `widget_carousel_item`
--
ALTER TABLE `widget_carousel_item`
  ADD CONSTRAINT `fk_item_carousel` FOREIGN KEY (`carousel_id`) REFERENCES `widget_carousel` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
COMMIT;

