Aggiornamento da 2.7 a 3.1 fallisce: "hotlinked_media_status" esiste già

Run that command (from outside the container!) and rebuild again.