Fallo al actualizar de 2.7 a 3.1: "hotlinked_media_status" ya existe

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