You can change the structure of your il table, you move the column length to 0 in pgAdmin 3 or create a table using timestamp (0) :
CREATE TABLE public.users ( id integer serial, username character varying(255) NOT NULL, email character varying(255) NOT NULL, password character varying(255) NOT NULL, created_at timestamp(0) without time zone NOT NULL, updated_at timestamp(0) without time zone NOT NULL, CONSTRAINT users_pkey PRIMARY KEY (id) );
But if you do, an error will occur if you try to insert a timestamp with a millisecond.
source share