comment index declaration depending on non-existing columns