-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- SIU-GUARANI 3 - Sistema de Gestión Académica -- Versión 3.0.0 -- Tabla: sga_certificados_otorg -- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- DROP TABLE IF EXISTS sga_certificados_otorg; CREATE TABLE sga_certificados_otorg ( nro_solicitud INTEGER NOT NULL DEFAULT nextval('sga_certificados_otorg_seq'::text) , persona Integer NOT NULL, certificado Integer NOT NULL, alumno Integer NOT NULL, plan_version Integer NOT NULL, circuito Integer NOT NULL, fecha_alta Date NOT NULL DEFAULT CURRENT_DATE, fecha_inicio_tramite Date NOT NULL, nro_expediente Varchar(30), nro_expediente_externo Varchar(30), duracion_real_en_meses Integer, fecha_egreso Date, promedio Numeric(8,3), promedio_sin_aplazos Numeric(8,3), juramento Integer, colacion Integer, observaciones Varchar(255), fecha_cambio_estado Date NOT NULL DEFAULT CURRENT_DATE, estado Integer, fecha_disposicion_decano Date, fecha_aprobacion_conacad Date, fecha_aprobacion_consup Date, fecha_elevacion_consup Date, fecha_firma_autoridad Date, fecha_ingreso_conacad Date, nro_disposicion_decano Varchar(30), nro_registro_diploma_fac Varchar(30), nro_registro_diploma_uni Varchar(30), resolucion_rectorado Varchar(30), folio_registro_diploma_fac Integer, orden_registro_diploma_fac Integer, libro_registro_diploma_fac Varchar(30) ); -- ALTER TABLE sga_certificados_otorg DROP CONSTRAINT pk_sga_certificados_otorg; ALTER TABLE sga_certificados_otorg ADD CONSTRAINT pk_sga_certificados_otorg PRIMARY KEY (nro_solicitud); Revoke all ON sga_certificados_otorg FROM public; -- ++++++++++++++++++++++++++ Fin tabla sga_certificados_otorg +++++++++++++++++++++++++++++