sqlite >= 3.8.0 supports partial indexes