Added db support on index views