-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- SIU-GUARANI 3 - Sistema de Gestión Académica -- Versión 3.0.0 -- Tabla: his_insc_cursada_log -- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- DROP TABLE IF EXISTS his_insc_cursada_log; CREATE TABLE his_insc_cursada_log ( inscripcion Integer NOT NULL, comision Integer NOT NULL, alumno Integer NOT NULL, tipo Char(1) NOT NULL DEFAULT 'I', prioridad Smallint NOT NULL DEFAULT 1, estado_preinscripcion Char(1) NOT NULL DEFAULT 'P', plan_version Integer NOT NULL, fecha_inscripcion Timestamp with time zone NOT NULL, fuera_de_termino Char(1) NOT NULL DEFAULT 'N', autorizado_por Varchar(100), nro_transaccion Integer, motivo_excepcion Integer, exceptuado Char(1) NOT NULL DEFAULT 'N', interfaz Smallint, estado Char(1) NOT NULL, motivo_rechazo Integer, operacion Char(1) NOT NULL, fecha_operacion Timestamp with time zone NOT NULL, nro_transaccion_log Integer ); -- ALTER TABLE his_insc_cursada_log DROP CONSTRAINT pk_his_insc_cursada_log; ALTER TABLE his_insc_cursada_log ADD CONSTRAINT pk_his_insc_cursada_log PRIMARY KEY (inscripcion); Revoke all ON his_insc_cursada_log FROM public; -- ++++++++++++++++++++++++++ Fin tabla his_insc_cursada_log +++++++++++++++++++++++++++++