-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- SIU-GUARANI 3 - Sistema de Gestión Académica -- Versión 3.0.0 -- Tabla: sga_elementos_comp -- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- DROP TABLE IF EXISTS sga_elementos_comp; CREATE TABLE sga_elementos_comp ( elemento_comp INTEGER NOT NULL DEFAULT nextval('sga_elementos_comp_seq'::text) , elemento_padre Integer NOT NULL, elemento_hijo Integer NOT NULL, puntaje Numeric(8,2) NOT NULL DEFAULT 0, orden Smallint NOT NULL ); -- ALTER TABLE sga_elementos_comp DROP CONSTRAINT pk_sga_elementos_comp; ALTER TABLE sga_elementos_comp ADD CONSTRAINT pk_sga_elementos_comp PRIMARY KEY (elemento_comp); Revoke all ON sga_elementos_comp FROM public; -- ++++++++++++++++++++++++++ Fin tabla sga_elementos_comp +++++++++++++++++++++++++++++