Switched sqlite for pg