-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- SIU-GUARANI 3 - Sistema de Gestión Académica -- Versión 3.0.0 -- Tabla: sga_elementos_plan -- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- DROP TABLE IF EXISTS sga_elementos_plan; CREATE TABLE sga_elementos_plan ( elemento_plan INTEGER NOT NULL DEFAULT nextval('sga_elementos_plan_seq'::text) , plan_version Integer NOT NULL, elemento_revision Integer NOT NULL, nombre Varchar(255) NOT NULL, nombre_abreviado Varchar(50) NOT NULL, anio_de_cursada Smallint, periodo_de_cursada Integer, escala_nota_cursada Integer, escala_nota_examen Integer, escala_nota_equivalencia Integer, 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 'S', requiere_examen Char(1) NOT NULL DEFAULT 'S', permite_promocion Char(1) NOT NULL DEFAULT 'N', permite_rendir_libre Char(1) NOT NULL DEFAULT 'S', aprobacion_x_resolucion Char(1) NOT NULL DEFAULT 'N', vigencia Smallint, plazo Numeric(8,2), promediable Char(1) NOT NULL DEFAULT 'S', sale_listado Char(1) NOT NULL DEFAULT 'S', cantidad_de_aplazos Smallint ); -- ALTER TABLE sga_elementos_plan DROP CONSTRAINT pk_sga_elementos_plan; ALTER TABLE sga_elementos_plan ADD CONSTRAINT pk_sga_elementos_plan PRIMARY KEY (elemento_plan); Revoke all ON sga_elementos_plan FROM public; -- ++++++++++++++++++++++++++ Fin tabla sga_elementos_plan +++++++++++++++++++++++++++++