Millions of explosives were laid during the Soviet occupation in the 1980s and the brutal civil war , which followed .