CREATE TABLE IF NOT EXISTS `callcenter_test_reparto_settings` (
    `store_key` VARCHAR(50) NOT NULL,
    `reparto_mode` VARCHAR(20) NOT NULL DEFAULT 'manual',
    `rotation_date` DATE NULL,
    `rotation_index` INT NOT NULL DEFAULT 0,
    `assessor_states_json` LONGTEXT NULL,
    `created_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
    `updated_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
    PRIMARY KEY (`store_key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
