-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- SIU-GUARANI 3 - Sistema de Gestión Académica -- Versión 3.0.0 -- Tabla: sga_alumnos_hist_calidad -- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- DROP TABLE IF EXISTS sga_alumnos_hist_calidad; CREATE TABLE sga_alumnos_hist_calidad ( cambio_calidad INTEGER NOT NULL DEFAULT nextval('sga_alumnos_hist_calidad_seq'::text) , alumno Integer NOT NULL, calidad Char(1) NOT NULL, motivo_calidad Integer NOT NULL, fecha Timestamp with time zone NOT NULL DEFAULT CURRENT_TIMESTAMP, documento Integer, observaciones Varchar(200) ); -- ALTER TABLE sga_alumnos_hist_calidad DROP CONSTRAINT pk_sga_alumnos_hist_calidad; ALTER TABLE sga_alumnos_hist_calidad ADD CONSTRAINT pk_sga_alumnos_hist_calidad PRIMARY KEY (cambio_calidad); Revoke all ON sga_alumnos_hist_calidad FROM public; -- ++++++++++++++++++++++++++ Fin tabla sga_alumnos_hist_calidad +++++++++++++++++++++++++++++