add index on tenant_id column