pg_query(): Query failed: ERROR: duplicate key value violates unique constraint "vst_pkey"