-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- SIU-GUARANI 3 - Sistema de Gestión Académica -- Versión 3.0.0 -- Tabla: sga_reconocimiento -- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- DROP TABLE IF EXISTS sga_reconocimiento; CREATE TABLE sga_reconocimiento ( nro_tramite INTEGER NOT NULL DEFAULT nextval('sga_reconocimiento_seq'::text) , alumno Integer NOT NULL, plan_version Integer NOT NULL, documento Integer NOT NULL, fecha Date NOT NULL, tipo_reconocimiento Char(2) NOT NULL DEFAULT 'AM', total_creditos Numeric(8,2) DEFAULT 0, fecha_generacion Date NOT NULL DEFAULT CURRENT_DATE, fecha_cierre Date, fecha_anulacion Date, observaciones Text, estado Char(1) NOT NULL DEFAULT 'A' ); -- ALTER TABLE sga_reconocimiento DROP CONSTRAINT pk_sga_reconocimiento; ALTER TABLE sga_reconocimiento ADD CONSTRAINT pk_sga_reconocimiento PRIMARY KEY (nro_tramite); Revoke all ON sga_reconocimiento FROM public; -- ++++++++++++++++++++++++++ Fin tabla sga_reconocimiento +++++++++++++++++++++++++++++