Upgrade von 2.7 auf 3.1 schlägt fehl: "hotlinked_media_status" existiert bereits

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