How do I adjust number series in id column after using DELETE FROM?

Example - If I create a table of 500 rows having sequential number in ID Column, and later decided to delete row 247 using DELETE FROM, how do I adjust my number series in ID Column?

Did you ever get this fixed?

I used the following in postgres 11, which might be compatible:

ALTER SEQUENCE tableName_keyColumn_seq RESTART;
UPDATE tableName SET keyColumn = DEFAULT;

This re-ordered from the beginning. THe underscores are needed, and so is the seq following the tableName and keyColumn.