-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- SIU-GUARANI 3 - Sistema de Gestión Académica -- Versión 3.0.0 -- Tabla: sga_elementos_atrib -- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- DROP TABLE IF EXISTS sga_elementos_atrib; CREATE TABLE sga_elementos_atrib ( elemento Integer NOT NULL, creditos Numeric(8,2), creditos_min Numeric(8,2), creditos_max Numeric(8,2), coeficiente Numeric(8,2), horas_semanales Numeric(8,2), horas_totales Numeric(8,2), requiere_cursada Char(1) NOT NULL DEFAULT 'N', requiere_examen Char(1) NOT NULL DEFAULT 'N', permite_promocion Char(1) NOT NULL DEFAULT 'N', permite_rendir_libre Char(1) NOT NULL DEFAULT 'N', aprobacion_x_resolucion Char(1) NOT NULL DEFAULT 'N', vigencia Smallint, promediable Char(1) NOT NULL DEFAULT 'N', sale_listado Char(1) NOT NULL DEFAULT 'S', cantidad_de_aplazos Smallint, escala_nota_cursada Integer, escala_nota_examen Integer, escala_nota_equivalencia Integer, nivel_formacion Integer, disciplina Integer, contenido Text, dia_examen Varchar(10), hora_inicio_examen Time, hora_fin_examen Time ); -- ALTER TABLE sga_elementos_atrib DROP CONSTRAINT pk_sga_elementos_atrib; ALTER TABLE sga_elementos_atrib ADD CONSTRAINT pk_sga_elementos_atrib PRIMARY KEY (elemento); Revoke all ON sga_elementos_atrib FROM public; -- ++++++++++++++++++++++++++ Fin tabla sga_elementos_atrib +++++++++++++++++++++++++++++