Swaps pg for sqlite