-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- SIU-GUARANI 3 - Sistema de Gestión Académica -- Versión 3.0.0 -- Tabla: sga_equiv_tramite -- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- DROP TABLE IF EXISTS sga_equiv_tramite; CREATE TABLE sga_equiv_tramite ( equivalencia_tramite INTEGER NOT NULL DEFAULT nextval('sga_equiv_tramite_seq'::text) , alumno Integer NOT NULL, plan_version Integer NOT NULL, fecha Date NOT NULL, tipo_tramite Char(1) NOT NULL DEFAULT 'N', origen Smallint NOT NULL, documento Integer, generacion_automatica Char(1) NOT NULL DEFAULT 'N', matriz_oficial Char(1) NOT NULL DEFAULT 'N', institucion Integer, responsable_academica Integer, convenio Integer, propuesta Integer, plan Integer, rectifica_a Integer, version Smallint NOT NULL DEFAULT 1, version_impresa Smallint NOT NULL DEFAULT 0, nro_ultima_copia Smallint NOT NULL DEFAULT 0, nua Integer, operador Integer, fecha_generacion Date NOT NULL DEFAULT CURRENT_DATE, fecha_anulacion Date, fecha_cierre Date, observaciones Text, estado Char(1) NOT NULL ); -- ALTER TABLE sga_equiv_tramite DROP CONSTRAINT pk_sga_equiv_tramite; ALTER TABLE sga_equiv_tramite ADD CONSTRAINT pk_sga_equiv_tramite PRIMARY KEY (equivalencia_tramite); Revoke all ON sga_equiv_tramite FROM public; -- ++++++++++++++++++++++++++ Fin tabla sga_equiv_tramite +++++++++++++++++++++++++++++