drop table noticias;

SET default_with_oids = true;

CREATE TABLE noticias (
    not_id serial NOT NULL,
    not_codemp integer NOT NULL default 1,
    not_tipo integer NOT NULL default 1,
    not_titulo character varying(560) NOT NULL,
    not_fechad date default date(now()),
    not_fechah date default date(now()),
    not_estado integer,
    not_link character varying(600),
    not_desc text,
    not_direc character varying(660),
    not_fecreg timestamp without time zone DEFAULT now() NOT NULL
);


ALTER TABLE public.noticias OWNER TO onlop;

