Add the required table.
Use serial primary key and let postgres do the key increment with
sequences.