-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- SIU-GUARANI 3 - Sistema de Gestión Académica -- Versión 3.0.0 -- Tabla: sga_certificados -- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- DROP TABLE IF EXISTS sga_certificados; CREATE TABLE sga_certificados ( certificado INTEGER NOT NULL DEFAULT nextval('sga_certificados_seq'::text) , nombre Varchar(255) NOT NULL, nombre_femenino Varchar(255), codigo Varchar(10) NOT NULL, certificado_tipo Integer NOT NULL, circuito Integer, disciplina Integer, titulo_nivel Varchar(10), nro_resolucion Integer, duracion_en_meses Smallint, duracion_en_anios Smallint, total_horas Integer, tiempo_trabajo_final Integer, fecha_resolucion_ministerio Date, nro_resolucion_ministerio Varchar(20), acreditado_coneau Char(1), categorizacion_coneau Char(1), titulo_araucano Integer, incumbencia_profesional Text, perfil_profesional Text, entidad Integer, estado Char(1) NOT NULL DEFAULT 'A' ); -- ALTER TABLE sga_certificados DROP CONSTRAINT pk_sga_certificados; ALTER TABLE sga_certificados ADD CONSTRAINT pk_sga_certificados PRIMARY KEY (certificado); Revoke all ON sga_certificados FROM public; -- ++++++++++++++++++++++++++ Fin tabla sga_certificados +++++++++++++++++++++++++++++