-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- SIU-GUARANI 3 - Sistema de Gestión Académica -- Versión 3.0.0 -- Tabla: men_dominio -- FK: fk_men_dominio_sga_catedras -- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- DROP INDEX ifk_men_dominio_sga_catedras; CREATE INDEX ifk_men_dominio_sga_catedras ON men_dominio (catedra); -- ALTER TABLE men_dominio DROP CONSTRAINT fk_men_dominio_sga_catedras; ALTER TABLE men_dominio ADD CONSTRAINT fk_men_dominio_sga_catedras FOREIGN KEY (catedra) REFERENCES sga_catedras (catedra) on update restrict on delete restrict;