Applying migration: 20260203_create_course_media_table.sql Error applying 20260203_create_course_media_table.sql: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-- Migration: create course_media table CREATE TABLE IF NOT EXISTS `cours...' at line 1 Applying migration: 20260204_add_course_visibility_column.sql Error applying 20260204_add_course_visibility_column.sql: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-- Migration: add visibility column to courses ALTER TABLE `courses` A...' at line 1 Applying migration: 20260204_create_roles_table.sql Error applying 20260204_create_roles_table.sql: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-- Migration: create roles table to store default role permissions CREATE...' at line 1 Applying migration: 20260204_seed_roles_defaults.sql Error applying 20260204_seed_roles_defaults.sql: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-- Seed default roles and permissions INSERT IGNORE INTO `roles` (`role`,...' at line 1 Applying migration: 20260205_allow_null_module_id_in_course_lessons.sql Error applying 20260205_allow_null_module_id_in_course_lessons.sql: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-- Migration: allow NULL module_id in course_lessons ALTER TABLE `course_...' at line 1 Applying migration: 20260205_create_course_reviews_table.sql Error applying 20260205_create_course_reviews_table.sql: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-- Migration: create course_reviews table CREATE TABLE IF NOT EXISTS `cou...' at line 1 Applying migration: 20260213_create_cohorts_table.sql Error applying 20260213_create_cohorts_table.sql: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-- Create cohorts table and add cohort_id to course_enrollments CREATE ...' at line 1 Applying migration: 20260213_create_course_enrollment_agreements_table.sql Error applying 20260213_create_course_enrollment_agreements_table.sql: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-- Create course_enrollment_agreements table to store signed training agre...' at line 1 Applying migration: 20260214_create_agreement_templates_table.sql Error applying 20260214_create_agreement_templates_table.sql: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-- Create agreement_templates table to store reusable training agreement t...' at line 1 Applying migration: 20260215_alter_agreement_templates_add_cohort_type.sql Error applying 20260215_alter_agreement_templates_add_cohort_type.sql: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-- Add cohort_type scoping to agreement_templates ALTER TABLE `agreemen...' at line 1 Applying migration: 20260215_alter_cohorts_add_cohort_type.sql Error applying 20260215_alter_cohorts_add_cohort_type.sql: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-- Add cohort_type to cohorts for finer-grained agreement scoping ALTER...' at line 1 Applying migration: 20260215_alter_course_enrollment_agreements_add_template_id.sql Error applying 20260215_alter_course_enrollment_agreements_add_template_id.sql: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-- Link course_enrollment_agreements back to the source template for audit...' at line 1 Applying migration: 20260310_create_course_enrollment_payment_policies_table.sql Error applying 20260310_create_course_enrollment_payment_policies_table.sql: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'course_enrollment_payment_policies' already exists Applying migration: 20260310_create_course_enrollment_privacy_policies_table.sql Error applying 20260310_create_course_enrollment_privacy_policies_table.sql: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'course_enrollment_privacy_policies' already exists Applying migration: 20260310_create_user_sessions_table.sql Error applying 20260310_create_user_sessions_table.sql: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'user_sessions' already exists Applying migration: 20260311_create_appointments_table.sql Error applying 20260311_create_appointments_table.sql: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'appointments' already exists Applying migration: 20260312_create_communities_tables.sql Error applying 20260312_create_communities_tables.sql: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'communities' already exists Applying migration: 20260313_alter_community_posts_add_is_locked.sql Error applying 20260313_alter_community_posts_add_is_locked.sql: SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'is_locked' Applying migration: 20260313_alter_payments_add_appointments_and_gateways.sql Error applying 20260313_alter_payments_add_appointments_and_gateways.sql: SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'appointment_id' Done.