sqlite >= 3.8.0 supports partial indexes
Merge pull request #13350 from ccutrer/sqlite-partial-indexes

sqlite >= 3.8.0 supports partial indexes