-- Forma de registro de ponto por colaborador (definida pelo RH).
-- Valores: button (ponto_botao.html), facial (ponto_facial.html), qr_code (ponto_qr_code.html).
-- O app lê em employee/app_features.php → data.punch_registration_method.
--
-- Exemplo:
--   UPDATE employees SET app_punch_registration_method = 'facial' WHERE id = 1 AND tenant_id = 1;

SET NAMES utf8mb4;
USE `ponto-sas`;

ALTER TABLE `employees`
  ADD COLUMN `app_punch_registration_method` ENUM('button', 'facial', 'qr_code') NOT NULL DEFAULT 'button'
    COMMENT 'Forma de registro de ponto (menu Relógio no app)'
    AFTER `profile_photo_url`;
