DROP TABLE public.received; CREATE TABLE public.received ( id serial4 NOT NULL, filename text NULL, unit_name text NULL, unit_type text NULL, tool_name text NULL, tool_type text NULL, tool_data text NULL, "locked" int2 DEFAULT 0 NULL, status int2 DEFAULT 0 NULL, created_at timestamptz DEFAULT CURRENT_TIMESTAMP NULL, loaded_at timestamptz NULL, CONSTRAINT received_pk PRIMARY KEY (id) );