Revert "Use pg instead of sqlite"

This reverts commit 9d1b5984a5a089943b4e2701c5632c73cdb0631a.