-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- SIU-GUARANI 3 - Sistema de Gestión Académica -- Versión 3.0.0 -- Tabla: sga_catedras_docentes -- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- DROP TABLE IF EXISTS sga_catedras_docentes; CREATE TABLE sga_catedras_docentes ( catedra Integer NOT NULL, docente Integer NOT NULL, responsabilidad Integer NULL, estado Char(1) NOT NULL DEFAULT 'A' ); -- ALTER TABLE sga_catedras_docentes DROP CONSTRAINT pk_sga_catedras_docentes; ALTER TABLE sga_catedras_docentes ADD CONSTRAINT pk_sga_catedras_docentes PRIMARY KEY (catedra, docente); Revoke all ON sga_catedras_docentes FROM public; -- ++++++++++++++++++++++++++ Fin tabla sga_catedras_docentes +++++++++++++++++++++++++++++