add indexExists support for sqlite3