[db] Reverting the switch to string primary keys

Changing my mind. I have plans for this.

This reverts commit 809232f5c0880a728d3edc4d0ec974cd508c4355.