s/index/idx as it masks global declaration
We need SQLite3 >= 3.7.15 for sqlite db extension to work