SET NAMES utf8mb4;

USE `ponto-sas`;

ALTER TABLE `cleaning_checkpoints`
  ADD COLUMN `tenant_condominium_id` BIGINT UNSIGNED NULL AFTER `tenant_id`,
  ADD KEY `idx_clean_cp_condo` (`tenant_condominium_id`),
  ADD CONSTRAINT `fk_clean_cp_condo`
    FOREIGN KEY (`tenant_condominium_id`) REFERENCES `tenant_condominiums`(`id`) ON DELETE SET NULL;

