==================================== HR-КАБИНЕТ LEVELUP - МИГРАЦИЯ V3 ==================================== ✓ Подключение к базе данных установлено ✓ Файл миграции загружен Применяем миграцию... Найдено 23 SQL команд для выполнения [CREATE] subscriptions... ✓ [CREATE] diagnostic_results... ✓ [CREATE] kpi_analytics... ✓ [CREATE] employee_development_plans... ✓ [CREATE] employee_interactions... ✓ [CREATE] diagnostic_templates... ✓ [INSERT] выполнение... ✗ Ошибка: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'included_tests' in 'field list' [CREATE] diagnostics... ✓ [CREATE] recommended_microcourses... ✓ [ALTER] tariffs... ✗ Ошибка: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS price_yearly DECIMAL(10,2) COMMENT 'Цена при ' at line 2 [UPDATE] выполнение... ✓ [ALTER] companies... ✗ Ошибка: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS name_verified BOOLEAN DEFAULT FALSE COMMENT 'Прове' at line 2 [ALTER] companies... ✗ Ошибка: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS api_data JSON COMMENT 'Данные из API ' at line 2 [CREATE] выполнение... ✓ [CREATE] выполнение... ✓ [CREATE] выполнение... ✓ [CREATE] update_diagnostic_completion... ✗ Ошибка: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS update_diagnostic_completion AFTER INSERT ON diagnostic_results FO' at line 1 [CREATE] update_plan_completion... ✗ Ошибка: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS update_plan_completion BEFORE UPDATE ON employee_development_plans' at line 1 [CREATE] v_active_subscriptions... ✓ [CREATE] v_diagnostics_stats... ✗ Ошибка: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'd.participants_total' in 'field list' [CREATE] v_employees_with_development... ✓ [CREATE] v_recent_interactions... ✓ [CREATE] calculate_kpi_analytics... ✗ Ошибка: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS calculate_kpi_analytics( IN p_company_id INT, IN p_period_' at line 1 ==================================== РЕЗУЛЬТАТЫ МИГРАЦИИ: ==================================== ✓ Успешно: 15 ✗ Ошибок: 8 ⚠️ Миграция выполнена с ошибками. Проверьте логи выше.