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