-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- SIU-GUARANI 3 - Sistema de Gestión Académica -- Versión 3.0.0 -- Tabla: sga_alumnos_orient_mov -- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- DROP TABLE IF EXISTS sga_alumnos_orient_mov; CREATE TABLE sga_alumnos_orient_mov ( orientacion_mov INTEGER NOT NULL DEFAULT nextval('sga_alumnos_orient_mov_seq'::text) , alumno Integer NOT NULL, orientacion Integer NOT NULL, fecha Date NOT NULL, fecha_movimiento Timestamp with time zone NOT NULL DEFAULT CURRENT_TIMESTAMP, tipo_movimiento Varchar(5) NOT NULL ); -- ALTER TABLE sga_alumnos_orient_mov DROP CONSTRAINT pk_sga_alumnos_orient_mov; ALTER TABLE sga_alumnos_orient_mov ADD CONSTRAINT pk_sga_alumnos_orient_mov PRIMARY KEY (orientacion_mov); Revoke all ON sga_alumnos_orient_mov FROM public; -- ++++++++++++++++++++++++++ Fin tabla sga_alumnos_orient_mov +++++++++++++++++++++++++++++