db: add checking for local index in schema tables
db: add checking for local index in schema tables

Based on which targets the index has, it will be either local
or global - local indexes have their full base partition key
embedded in their targets.

avikivity/scylla,avikivity/scylla,avikivity/scylla,scylladb/scylla,scylladb/scylla,scylladb/scylla,scylladb/scylla