-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- SIU-GUARANI 3 - Sistema de Gestión Académica -- Versión 3.0.0 -- Tabla: sga_unidades_gestion -- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- DROP TABLE IF EXISTS sga_unidades_gestion; CREATE TABLE sga_unidades_gestion ( unidad_gestion INTEGER NOT NULL DEFAULT nextval('sga_unidades_gestion_seq'::text) , nombre Varchar(255) NOT NULL, ubicacion Integer, dominio Integer NOT NULL DEFAULT 1 ); -- ALTER TABLE sga_unidades_gestion DROP CONSTRAINT pk_sga_unidades_gestion; ALTER TABLE sga_unidades_gestion ADD CONSTRAINT pk_sga_unidades_gestion PRIMARY KEY (unidad_gestion); Revoke all ON sga_unidades_gestion FROM public; -- ++++++++++++++++++++++++++ Fin tabla sga_unidades_gestion +++++++++++++++++++++++++++++