check for indexes while creating db tables added