CREATE TABLE imagen ( ruta character varying(500), id serial NOT NULL, -- id CONSTRAINT pk_imagen PRIMARY KEY (id) ) WITH ( OIDS=FALSE );