-- ============================================================
-- Migration 021 DOWN — Reverte Camada 2 schema (override + hist)
-- ============================================================

SET SESSION sql_mode = '';

DROP TABLE IF EXISTS agente_hist_override_revenda;

ALTER TABLE tbl_Representante
  DROP INDEX idx_repr_agente_tab_override,
  DROP INDEX idx_repr_agente_pct_override,
  DROP COLUMN agente_tabela_preco_override_cod,
  DROP COLUMN agente_pct_override;
