Change index creation for evants table inside block do